|
|
A146160
|
|
Period 4: repeat [1, 4, 1, 16].
|
|
4
|
|
|
1, 4, 1, 16, 1, 4, 1, 16, 1, 4, 1, 16, 1, 4, 1, 16, 1, 4, 1, 16, 1, 4, 1, 16, 1, 4, 1, 16, 1, 4, 1, 16, 1, 4, 1, 16, 1, 4, 1, 16, 1, 4, 1, 16, 1, 4, 1, 16, 1, 4, 1, 16, 1, 4, 1, 16, 1, 4, 1, 16, 1, 4, 1, 16, 1, 4, 1, 16, 1, 4, 1, 16, 1, 4, 1, 16, 1, 4, 1, 16, 1, 4, 1, 16, 1, 4, 1, 16, 1, 4, 1, 16, 1
(list;
graph;
refs;
listen;
history;
text;
internal format)
|
|
|
OFFSET
|
1,2
|
|
LINKS
|
|
|
FORMULA
|
Continued fraction of (8 + sqrt(78))/14.
GCD(4k - k^2, 5k^2, 20k - 20k^2, 16 - 32k + 16k^2) for k = 1,2,3,...
a(n) = 1 when n congruent to 1 or 3 mod 4.
a(n) = 4 when n congruent to 2 mod 4.
a(n) = 16 when n congruent to 0 mod 4. (End)
a(n+4) = a(n).
a(n) = (9/2)*(-1)^n + (11/2) + 6*cos(Pi*n/2).
O.g.f.: f(z) = a(0)+a(1)*z+... = (1+4*z+z^2+16*z^3)/(1-z^4). (End)
E.g.f.: sinh(x) + 20*(sinh(x/2))^2 - 12*(sin(x/2))^2. - G. C. Greubel, Feb 03 2016
Multiplicative with a(2) = 4, a(2^e) = 16 for e >= 2, and a(p^e) = 1 for p >= 3.
Dirichlet g.f.: zeta(s)*(12/4^s+3/2^s+1). (End)
|
|
MAPLE
|
|
|
MATHEMATICA
|
Table[GCD[4k - k^2, 5k^2, 20k - 20k^2, 16 - 32k + 16k^2], {k, 100}]
|
|
PROG
|
(PARI) Vec((1+4*x+x^2+16*x^3)/(1-x^4) + O(x^100)) \\ Altug Alkan, Feb 04 2016
|
|
CROSSREFS
|
|
|
KEYWORD
|
nonn,easy,mult
|
|
AUTHOR
|
|
|
EXTENSIONS
|
|
|
STATUS
|
approved
|
|
|
|