12 Feb
2003
12 Feb
'03
1:01 a.m.
----- Original Message ----- From: "Jud McCranie" <judmccr@bellsouth.net> To: <math-fun@mailman.xmission.com> Sent: Tuesday, February 11, 2003 11:06 PM Subject: Re: [math-fun] Ulam(1,2)
For n = 1730, u(n) = 21870, my f(n) fell a hair below .5, it should have been .5 exactly.
If you divided by 21.6, that could be the cause.
Yeah, that was it. When I change to $n * 108 / 5, it worked. I'm usually not that careless. Also, Perl uses decimal strings to represent numbers, so there is probably some lost precision there too.