login
This site is supported by donations to The OEIS Foundation.
Logo

Hints
(Greetings from The On-Line Encyclopedia of Integer Sequences!)
A071972 a(1)=1, a(n) is the smallest integer > a(n-1) such that the sum of elements of the simple continued fraction for S(n)=1/a(1)+1/a(2)+...+1/a(n) equals n^4. 0
1, 15, 1339, 6069, 28879, 40941, 66183, 77707, 1359489, 1651008, 7923801, 16146690, 22400968 (list; graph; refs; listen; history; internal format)
OFFSET

1,2

EXAMPLE

1/a(1)+1/a(2)+1/a(3)+1/a(4) = (1+1/15+1/1339+1/6069) which continued fraction is {1, 14, 1, 3, 1, 16, 3, 1, 1, 1, 4, 210} and 1+14+1+3+1+16+3+1+1+1+4+210 = 256 = 4^4.

MATHEMATICA

a[1] = 1; a[n_] := a[n] = (s = Sum[1/a[i], {i, 1, n - 1}]; While[Plus @@ ContinuedFraction[s + 1/k] != n^4, k++ ]; k); k = 1; Do[ Print[ a[n]], {n, 1, 14}]

PROG

(PARI) s=1; t=1; for(n=2, 14, s=s+1/t; while(abs(n^4+1-sum(i=1, length(contfrac(s+1/t)), component(contfrac(s+1/t), i)))>0, t++); print1(t, ", "))

CROSSREFS

Cf. A071183.

Sequence in context: A135810 A166330 A183550 * A206376 A200994 A122469

Adjacent sequences:  A071969 A071970 A071971 * A071973 A071974 A071975

KEYWORD

nonn

AUTHOR

Robert G. Wilson v (rgwv(AT)rgwv.com), Jun 17 2002

Lookup | Welcome | Wiki | Register | Music | Plot 2 | Demos | Index | Browse | More | WebCam
Contribute new seq. or comment | Format | Transforms | Puzzles | Hot | Classics
Recent Additions | More pages | Superseeker | Maintained by The OEIS Foundation Inc.

Content is available under The OEIS End-User License Agreement .

Last modified February 16 21:51 EST 2012. Contains 205978 sequences.