[seqfan] Re: A090566.
David Wilson
davidwwilson at comcast.net
Mon Nov 23 05:34:31 CET 2015
Sigh.
In my program on A090566, change the second
q = (floor(sqrt(p)) + 1)^2;
to
q = (floor(sqrt(p - 1)) + 1)^2;
I already made the fix in the sequence program.
From: Robert G. Wilson v [mailto:rgwv at rgwv.com]
Sent: Sunday, November 22, 2015 8:34 PM
To: David Wilson
Subject: Ref: A090566.
Dear David,
We have a problem with the algorithm. Try finding the next
term after 36. The algorithm returns 481 but the true answer is 100.
Bob.
More information about the SeqFan
mailing list