|
| |
|
|
A084104
|
|
A period 6 sequence.
|
|
2
| |
|
|
1, 4, 7, 7, 4, 1, 1, 4, 7, 7, 4, 1, 1, 4, 7, 7, 4, 1, 1, 4, 7, 7, 4, 1, 1, 4, 7, 7, 4, 1, 1, 4, 7, 7, 4, 1, 1, 4, 7, 7, 4, 1, 1, 4, 7, 7, 4, 1, 1, 4, 7, 7, 4, 1, 1, 4, 7, 7, 4, 1, 1, 4, 7, 7, 4, 1, 1, 4, 7, 7, 4, 1, 1, 4, 7, 7, 4, 1, 1, 4, 7, 7, 4, 1, 1, 4, 7, 7, 4, 1, 1, 4, 7, 7, 4, 1, 1, 4, 7, 7, 4, 1, 1, 4, 7
(list; graph; refs; listen; history; internal format)
|
|
|
|
OFFSET
| 0,2
|
|
|
COMMENTS
| Partial sums of A084103.
Terms of the simple continued fraction of 133/[sqrt(18530)-29]. Decimal expansion of 121/819. [From Paolo P. Lava (paoloplava(AT)gmail.com), Aug 05 2009]
|
|
|
FORMULA
| a(n)=1/30*{8*(n mod 6)+23*[(n+1) mod 6]+23*[(n+2) mod 6]+8*[(n+3) mod 6]-7*[(n+4) mod 6]-7*[(n+5) mod 6]} - Paolo P. Lava (paoloplava(AT)gmail.com), Oct 20 2006
Euler transform of length 6 sequence [ 4, -3, -1, 0, 0, 1]. - Michael Somos Nov 07 2006
G.f.: (1+x)^3/((1-x)(1+x^3)).
G.f.:(1+x)^2/((1-x)*(1-x+x^2)) [From Jaume Oliver Lafont (joliverlafont(AT)gmail.com), Aug 27 2009]
|
|
|
PROG
| (PARI) {a(n)=[1, 4, 7, 7, 4, 1][n%6+1]}
(PARI) a(n)=2*sqrt(3)*sin((n+5)*Pi/3)+4 [From Jaume Oliver Lafont (joliverlafont(AT)gmail.com), Aug 27 2009]
|
|
|
CROSSREFS
| Cf. A084101, A007877.
Sequence in context: A176529 A086775 A132266 * A093582 A201940 A075113
Adjacent sequences: A084101 A084102 A084103 * A084105 A084106 A084107
|
|
|
KEYWORD
| easy,nonn
|
|
|
AUTHOR
| Paul Barry (pbarry(AT)wit.ie), May 15 2003
|
| |
|
|