|
Search: id:A006275
|
|
|
| A006275 |
|
A predictable Pierce expansion. (Formerly M1342)
|
|
+0 7
|
|
| 2, 5, 7, 197, 199, 7761797, 7761799, 467613464999866416197, 467613464999866416199, 102249460387306384473056172738577521087843948916391508591105797
(list; graph; listen)
|
|
|
OFFSET
|
0,1
|
|
|
REFERENCES
|
J. O. Shallit, Some predictable Pierce expansions, Fib. Quart., 22 (1984), 332-335.
N. J. A. Sloane and Simon Plouffe, The Encyclopedia of Integer Sequences, Academic Press, 1995 (includes this sequence).
|
|
LINKS
|
J. O. Shallit, Some predictable Pierce expansions, Fib. Quart., 22 (1984), 332-335.
Eric Weisstein's World of Mathematics, Pierce Expansion
|
|
FORMULA
|
Let u(0)=1+sqrt(2) and u(n+1)=u(n)/frac(u(n)) where frac(x) is the fractional part of x, then a(n)=floor(u(n)). - Benoit Cloitre (benoit7848c(AT)orange.fr), Mar 09 2004
|
|
EXAMPLE
|
Let c(0)=6, c(n+1) = c(n)^3-3*c(n); then this sequence is 2, c(0)-1, c(0)+1, c(1)-1, c(1)+1, c(2)-1, c(2)+1, ...
|
|
PROGRAM
|
(PARI) r=1+sqrt(2); for(n=1, 10, r=r/(r-floor(r)); print1(floor(r), ", "))
|
|
CROSSREFS
|
Sequence in context: A041445 A041961 A058854 this_sequence A042673 A007571 A062621
Adjacent sequences: A006272 A006273 A006274 this_sequence A006276 A006277 A006278
|
|
KEYWORD
|
nonn,easy
|
|
AUTHOR
|
N. J. A. Sloane (njas(AT)research.att.com).
|
|
EXTENSIONS
|
More terms from James A. Sellers (sellersj(AT)math.psu.edu), May 19 2000
|
|
|
Search completed in 0.002 seconds
|