Better HN
topnewbestaskshowjobs
Log inSign up

dhartmei

7 karma · joined Nov 3, 2014 (12y ago) · 5 submissions

Submissions

comment 2y ago · link · parent

Brute-force says the hardest puzzle for n=6 is [1,6,3] with a minimum of 14 moves.

And for n=7 it's [5,4,1,2,7] with a minimum of 26 moves.

comment 4y ago · link · parent

At the beginning, where the hidden passage is explained, isn't there a "race condition", where Ali Baba would eventually (across 40 repetitions) run into the thief? The thief picks one branch, Ali Baba the other. The thief uses the passage, then walks right into Ali Baba?

I don't understand how the thief can be sure to never walk into Ali Baba coming down the other path at some time.

What am I missing?

comment 8y ago · link · parent

Here's an example if you want to try http://www.benzedrine.ch/pi-spigot.c

comment 8y ago · link · parent

You don't need arbitrary precision, use a spigot https://en.wikipedia.org/wiki/Pi#Spigot_algorithms

5.

A novel packing heuristic based on rigid body simulation(benzedrine.cx ↗)

8 points · by dhartmei · 12y ago · discuss