joshmaxsilverman.bsky.social's Avatar

joshmaxsilverman.bsky.social

@joshmaxsilverman.bsky.social

27 Followers  |  254 Following  |  69 Posts  |  Joined: 17.11.2023  |  2.057

Latest posts by joshmaxsilverman.bsky.social on Bluesky

Preview
Can you meet me at the mall? What is the greatest number of friends you're likely to meet if everyone fails to coordinate?

for more details, and my calculation of the setup questions, see joshmaxsilverman.github.io/2025-07-22-f... @xaqwg.bsky.social

23.07.2025 01:10 β€” πŸ‘ 2    πŸ” 0    πŸ’¬ 0    πŸ“Œ 0

the two approximations i make point in opposing directions, so it makes sense that they somewhat cancel, but the result seems too good for coincidence. i suspect it is a glimpse of a deeper calculation that takes into account the time correlation of the excitations.

23.07.2025 01:10 β€” πŸ‘ 0    πŸ” 0    πŸ’¬ 1    πŸ“Œ 0
Post image Post image

this captures the behavior closely, starting at about 10 friends.

23.07.2025 01:10 β€” πŸ‘ 2    πŸ” 1    πŸ’¬ 1    πŸ“Œ 0
Post image

i then asked, at what k would we expect such an excitation to spawn once in an hour. this led to a remarkable formula for the excitation Ξ΄ = (k-ΞΌ)

23.07.2025 01:10 β€” πŸ‘ 0    πŸ” 0    πŸ’¬ 1    πŸ“Œ 0

on average we'd expect N/4 friends in any 15 min interval. to probe the extremes, I made the approximation that each interval is an independent poisson process. I calculated the probability that such a window would have an excitation to k friends, and found the expected lifetime of such an interval.

23.07.2025 01:10 β€” πŸ‘ 1    πŸ” 1    πŸ’¬ 1    πŸ“Œ 0

in #thisweeksfiddler we are asked to find the expected maximum number of friends who are at the mall at the same time, given that they all go at a random 15 min window over an hour. i wondered about the large N behavior.

23.07.2025 01:10 β€” πŸ‘ 1    πŸ” 1    πŸ’¬ 1    πŸ“Œ 0

glad to pay you back for your non-vector solution to the tilted plot problem.

26.05.2025 21:05 β€” πŸ‘ 2    πŸ” 0    πŸ’¬ 0    πŸ“Œ 0

see https://joshmaxsilverman.github.io/2025-05-23-fiddler-river-fiddlish/ for more details @xaqwg.bsky.social

26.05.2025 20:52 β€” πŸ‘ 0    πŸ” 0    πŸ’¬ 0    πŸ“Œ 0
Post image

interestingly, the probability of a river of length β„“ is well approximated by the naive approximation times an extra factor of 2/9

26.05.2025 20:52 β€” πŸ‘ 0    πŸ” 0    πŸ’¬ 1    πŸ“Œ 0
Post image

with this in hand, we can calculate the probability that the river has length β„“

26.05.2025 20:52 β€” πŸ‘ 0    πŸ” 0    πŸ’¬ 1    πŸ“Œ 0
Post image

this oscillates around the long-distance value 2/9 before settling down

26.05.2025 20:52 β€” πŸ‘ 0    πŸ” 0    πŸ’¬ 1    πŸ“Œ 0
Post image

using generating functions, we can find an exact expression for the chance position β„“ is a space

26.05.2025 20:52 β€” πŸ‘ 0    πŸ” 0    πŸ’¬ 1    πŸ“Œ 0
Post image

with this in hand, we can calculate the chance of a length β„“ river like

26.05.2025 20:52 β€” πŸ‘ 0    πŸ” 0    πŸ’¬ 1    πŸ“Œ 0
Post image

the chance position β„“ has a space is the chance position (β„“-4) was a space times the chance a 3-letter word was used plus the chance position (β„“-5) was a space times the chance a 4-letter word was used.

26.05.2025 20:52 β€” πŸ‘ 0    πŸ” 0    πŸ’¬ 1    πŸ“Œ 0

each line is very long, so we can just find the probability the a given line has a space at position β„“.

26.05.2025 20:52 β€” πŸ‘ 0    πŸ” 0    πŸ’¬ 1    πŸ“Œ 0

in #thisweeksfiddler, we ask how long, on average, are coincidental diagonals of contiguous spaces in books written using 50% 3-letter, 50% 4-letter words with monospaced font.

26.05.2025 20:52 β€” πŸ‘ 5    πŸ” 1    πŸ’¬ 1    πŸ“Œ 0

for more details: https://joshmaxsilverman.github.io/2025-05-18-fiddler-counting-bipyramid/
@xaqwg.bsky.social

19.05.2025 14:22 β€” πŸ‘ 4    πŸ” 0    πŸ’¬ 1    πŸ“Œ 0
Post image

for the puzzle depicted, this is just 2*2*4*4*6*^ = 2,304 and in general, for an L-layer puzzle it is

19.05.2025 14:22 β€” πŸ‘ 0    πŸ” 0    πŸ’¬ 1    πŸ“Œ 0

paths from one node to another in a flat layer are unique, so sidestepping doesn't change the multiplicity. a path can enter/exit a layer at any node. since two edges emerge from any given node, the number of paths is just the product of the number of edges emerging at each layer.

19.05.2025 14:22 β€” πŸ‘ 0    πŸ” 0    πŸ’¬ 1    πŸ“Œ 0
Post image

we are also given a 2D version of the problem, which can be done with the same computational approach but can also be done analytically.

19.05.2025 14:22 β€” πŸ‘ 0    πŸ” 0    πŸ’¬ 1    πŸ“Œ 0

putting it all together, we can run Ξ©(bottom point) which gives 1,093,007,025 for the 7-layer bipyramid.

19.05.2025 14:22 β€” πŸ‘ 0    πŸ” 0    πŸ’¬ 1    πŸ“Œ 0

within a layer, pick a corner and call it row = 0, index = 0. all nodes can therefore be labelled by their row, index, and layer. in this scheme, vertical neighbors of node (r,i,l) in the upper half are ((r,i,l-1), (r-1,i,l-1), (r-1,i-1,l-1)) with the row/index shifts reversed in the lower half.

19.05.2025 14:22 β€” πŸ‘ 0    πŸ” 0    πŸ’¬ 1    πŸ“Œ 0

finally we can find T(i<-j, l) by searching within the layer. this leaves determining the vertical neighbors for any given node which can be seen by overlaying one layer of the pyramid on the one below.

19.05.2025 14:22 β€” πŸ‘ 0    πŸ” 0    πŸ’¬ 1    πŸ“Œ 0
Post image

we can find the number of ways to enter a layer at node i as the sum of ways to exit the last layer from one of its neighbors

19.05.2025 14:22 β€” πŸ‘ 0    πŸ” 0    πŸ’¬ 1    πŸ“Œ 0
Post image

at each layer, a path enters at a node, and moves to exit from any other node. therefore, the number of ways Ξ©(i) to exit a layer from node i is the number of ways W(j) to enter the layer at node j times the number of ways to move from j to i within their layer, without repeating an edge T(i <- j)

19.05.2025 14:22 β€” πŸ‘ 0    πŸ” 0    πŸ’¬ 1    πŸ“Œ 0
Post image

In #thisweeksfiddler we're asked to count the paths down a bipyramid, starting at the top and exiting the bottom, without taking any edge twice.

19.05.2025 14:22 β€” πŸ‘ 5    πŸ” 1    πŸ’¬ 1    πŸ“Œ 0

the standard credit simplifies to a similar expression, 7/6 + H_N

07.05.2025 00:06 β€” πŸ‘ 0    πŸ” 0    πŸ’¬ 0    πŸ“Œ 0

the standard credit is actually a bit more complicated, and is treated in the post.

joshmaxsilverman.github.io/2025-05-04-f...

@xaqwg.bsky.social

05.05.2025 12:31 β€” πŸ‘ 2    πŸ” 1    πŸ’¬ 1    πŸ“Œ 0
Post image

recursing down to the the case of 3 time slots, which gives 3 rides by definition, this shows the expected number of rides is (3H_N - 5/2) where H_N is the Nth harmonic number (1 + 1/2 + ... + 1/N).

the blue points are the result of a 1E6 round simulation and the gold point are the formula above.

05.05.2025 12:31 β€” πŸ‘ 1    πŸ” 0    πŸ’¬ 1    πŸ“Œ 0
Post image

this means that the expected number of rides with N time slots is the expected number of rides with (N-1) time slots plus the expected number of times the first time slot is occupied.

05.05.2025 12:31 β€” πŸ‘ 1    πŸ” 0    πŸ’¬ 1    πŸ“Œ 0

@joshmaxsilverman is following 20 prominent accounts