|
| |
|
|
A006275
|
|
A predictable Pierce expansion.
(Formerly M1342)
|
|
6
| | |
|
|
|
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, ...
|
|
|
PROG
| (PARI) r=1+sqrt(2); for(n=1, 10, r=r/(r-floor(r)); print1(floor(r), ", "))
|
|
|
CROSSREFS
| Sequence in context: A041445 A041961 A058854 * A042673 A007571 A062621
Adjacent sequences: A006272 A006273 A006274 * 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
|
| |
|
|