|
|
A092730
|
|
Denominators in an expansion for sqrt(2).
|
|
0
|
|
|
|
OFFSET
|
1,1
|
|
COMMENTS
|
Denominators of an alternating series for sqrt(2) where the n-th numerator is the n-th digit of Pi, see example. - Michel Marcus, Aug 03 2013
|
|
LINKS
|
|
|
EXAMPLE
|
Sqrt(2) = 3/2 + (-1)/11 + 4/780 + (-1)/180120 + 5/602397129892 + (-9)/1056102638179040007288663 + ... with successive digits of Pi as numerators.
|
|
PROG
|
(PARI) a(nn) = {vpi = digits(floor(Pi*10^(nn-1)), 10); val = 0; isign = 1; for (i=1, #vpi, ai = floor((isign*vpi[i])/(sqrt(2)-val)); print1(ai, ", "); val += isign * vpi[i]/ai; isign *= -1; ); } \\ Michel Marcus, Aug 01 2013
|
|
CROSSREFS
|
|
|
KEYWORD
|
nonn,base
|
|
AUTHOR
|
|
|
STATUS
|
approved
|
|
|
|