[seqfan] Re: How to generate A000047?
T. D. Noe
noe at sspectra.com
Mon Jan 19 19:34:46 CET 2009
>I have been trying to regenerate the sequence A000047 without any luck.
>I assume that the integers <= 2^n are one or greater, but n, x, and y are >=
>My biggest problem is determining if a given integer is of the form x^2 -
I used Mathematica to solve the Pell equations x^2-2y^2=k and determined
that the number of k<=2^n begins
which agrees with the sequence. Not sure that this is the fastest method.
More information about the SeqFan