|
| |
|
|
A112132
|
|
Period 4: repeat 1 3 1 7.
|
|
2
| |
|
|
1, 3, 1, 7, 1, 3, 1, 7, 1, 3, 1, 7, 1, 3, 1, 7, 1, 3, 1, 7, 1, 3, 1, 7, 1, 3, 1, 7, 1, 3, 1, 7, 1, 3, 1, 7, 1, 3, 1, 7, 1, 3, 1, 7, 1, 3, 1, 7, 1, 3, 1, 7, 1, 3, 1, 7, 1, 3, 1, 7, 1, 3, 1, 7, 1, 3, 1, 7, 1, 3, 1, 7, 1, 3, 1, 7, 1, 3, 1, 7, 1, 3, 1, 7, 1, 3, 1, 7, 1, 3, 1, 7, 1, 3, 1, 7, 1, 3, 1, 7, 1, 3
(list; graph; refs; listen; history; internal format)
|
|
|
|
OFFSET
| 1,2
|
|
|
COMMENTS
| Terms of the simple continued fraction of 10/[3*sqrt(205)-35]. Decimal expansion of 439/3333. [From Paolo P. Lava (paoloplava(AT)gmail.com), Aug 05 2009]
|
|
|
LINKS
| Index entries for sequences related to linear recurrences with constant coefficients, signature (0,0,0,1).
|
|
|
FORMULA
| a(n)=2*(n mod 4)-[(n+1) mod 4]+[(n+2) mod 4], with n>=0 - Paolo P. Lava (paoloplava(AT)gmail.com), Aug 29 2007
a(n)=3+I*I^n-2*(-1)^n-I*(-I)^n, with n>=0 and I=sqrt(-1) - Paolo P. Lava (paoloplava(AT)gmail.com), Jul 17 2008
a(n+1) = 3-2*sin(Pi*n/2)-2*(-1)^n. R. J. Mathar, Oct 08 2011
|
|
|
PROG
| (PARI) a(n)=1+2*(n%2)*(n%4) [From Jaume Oliver Lafont (joliverlafont(AT)gmail.com), Aug 28 2009]
|
|
|
CROSSREFS
| First differences of A112062.
Also half of the first differences of A112072. Cf. A112086.
Sequence in context: A097612 A136011 A021991 * A053381 A038712 A065745
Adjacent sequences: A112129 A112130 A112131 * A112133 A112134 A112135
|
|
|
KEYWORD
| nonn,mult,easy
|
|
|
AUTHOR
| Antti Karttunen (His-Firstname.His-Surname(AT)iki.fi), Aug 28 2005
|
| |
|
|