|
| |
|
|
A001544
|
|
A nonlinear recurrence.
(Formerly M4346 N1820)
|
|
3
| | |
|
|
|
OFFSET
| 0,2
|
|
|
COMMENTS
| This is the special case k=6 of sequences with exact mutual k-residues. In general, a(1)=k+1 and a(n)=min{m | m>a(n-1), mod(m,a(i))=k, i=1,...,n-1}. k=1 gives Sylvester's sequence A000058 and k=2 Fermat sequence A000215. - Seppo Mustonen (seppo.mustonen(AT)helsinki.fi), Sep 04 2005
|
|
|
REFERENCES
| S. W. Golomb, On certain nonlinear recurring sequences, Amer. Math. Monthly 70 (1963), 403-405.
N. J. A. Sloane, A Handbook of Integer Sequences, Academic Press, 1973 (includes this sequence).
N. J. A. Sloane and Simon Plouffe, The Encyclopedia of Integer Sequences, Academic Press, 1995 (includes this sequence).
|
|
|
LINKS
| S. Mustonen, On integer sequences with mutual k-residues
Index entries for sequences of form a(n+1)=a(n)^2 + ...
|
|
|
FORMULA
| a(0)=1, a(1)=7, a(n)=a(n-1)^2-6*a(n-1)+6 if n>1.
|
|
|
PROG
| (PARI) a(n)=if(n<1, n==0, if(n==1, 7, n=a(n-1); n^2-6*n+6))
|
|
|
CROSSREFS
| Sequence in context: A132373 A110293 A039687 * A202152 A136720 A035030
Adjacent sequences: A001541 A001542 A001543 * A001545 A001546 A001547
|
|
|
KEYWORD
| nonn
|
|
|
AUTHOR
| N. J. A. Sloane (njas(AT)research.att.com).
|
| |
|
|