|
|
A010717
|
|
Period 2: repeat (5,6).
|
|
3
|
|
|
5, 6, 5, 6, 5, 6, 5, 6, 5, 6, 5, 6, 5, 6, 5, 6, 5, 6, 5, 6, 5, 6, 5, 6, 5, 6, 5, 6, 5, 6, 5, 6, 5, 6, 5, 6, 5, 6, 5, 6, 5, 6, 5, 6, 5, 6, 5, 6, 5, 6, 5, 6, 5, 6, 5, 6, 5, 6, 5, 6, 5, 6, 5, 6, 5, 6, 5, 6, 5, 6, 5, 6, 5, 6, 5, 6, 5, 6, 5, 6, 5
(list;
graph;
refs;
listen;
history;
text;
internal format)
|
|
|
OFFSET
|
0,1
|
|
COMMENTS
|
This is the continued fraction expansion of the constant A176320 = 5/2 + sqrt(255)/6. - R. J. Mathar, Nov 21 2011
|
|
LINKS
|
|
|
FORMULA
|
a(n) = a(n-2) for n>1; a(0)=5, a(1)=6.
G.f.: (5+6*x)/((1-x)*(1+x)). (End)
|
|
MAPLE
|
|
|
MATHEMATICA
|
Table[5 + Mod[n, 2], {n, 0, 50}] (* Jinyuan Wang, Feb 26 2020 *)
|
|
PROG
|
(PARI) contfrac(5/2+sqrt(precision(255., 150))/6) \\ Note: Depending on the chosen precision, the last term may be off by +/- 1, so it would be safer to discard it, e.g., using vecextract(..., "^-1"). - M. F. Hasler, Sep 25 2013
|
|
CROSSREFS
|
|
|
KEYWORD
|
nonn,easy
|
|
AUTHOR
|
|
|
STATUS
|
approved
|
|
|
|