login
The OEIS is supported by the many generous donors to the OEIS Foundation.

 

Logo
Hints
(Greetings from The On-Line Encyclopedia of Integer Sequences!)
A176260 Periodic sequence: Repeat 5, 1. 2
5, 1, 5, 1, 5, 1, 5, 1, 5, 1, 5, 1, 5, 1, 5, 1, 5, 1, 5, 1, 5, 1, 5, 1, 5, 1, 5, 1, 5, 1, 5, 1, 5, 1, 5, 1, 5, 1, 5, 1, 5, 1, 5, 1, 5, 1, 5, 1, 5, 1, 5, 1, 5, 1, 5, 1, 5, 1, 5, 1, 5, 1, 5, 1, 5, 1, 5, 1, 5, 1, 5, 1, 5, 1, 5, 1, 5, 1, 5, 1, 5, 1, 5, 1, 5, 1, 5, 1, 5, 1, 5, 1, 5, 1, 5, 1, 5, 1, 5, 1, 5, 1, 5, 1, 5 (list; constant; graph; refs; listen; history; text; internal format)
OFFSET
0,1
COMMENTS
Interleaving of A010716 and A000012.
Also continued fraction expansion of (5+3*sqrt(5))/2.
Also decimal expansion of 17/33.
Essentially first differences of A047264.
Binomial transform of 5 followed by -A122803 without initial terms 1, -2.
Inverse binomial transform of 5 followed by A007283 without initial term 3.
Second inverse binomial transform of A168607 without initial term 3.
Exp( Sum_{n >= 1} a(n)*x^n/n ) = 1 + x + 3*x^2 + 3*x^3 + 6*x^4 + 6*x^5 + ... is the o.g.f. for A008805. - Peter Bala, Mar 13 2015
LINKS
FORMULA
a(n) = 3+2*(-1)^n.
a(n) = a(n-2) for n > 1; a(0) = 5, a(1) = 1.
a(n) = -a(n-1)+6 for n > 0; a(0) = 5.
a(n) = 5*((n+1) mod 2)+(n mod 2).
a(n) = A010686(n+1).
G.f.: (5+x)/(1-x^2).
From Amiram Eldar, Jan 01 2023: (Start)
Multiplicative with a(2^e) = 5, and a(p^e) = 1 for p >= 3.
Dirichlet g.f.: zeta(s)*(1+2^(2-s)). (End)
PROG
(Magma) &cat[ [5, 1]: n in [0..52] ];
[ 3+2*(-1)^n: n in [0..104] ];
CROSSREFS
Cf. A010716 (all 5's sequence), A000012 (all 1's sequence), A090550 (decimal expansion of (5+3*sqrt(5))/2), A010686 (repeat 1, 5), A047264 (congruent to 0 or 5 mod 6), A122803 (powers of -2), A007283 (3*2^n), A168607 (3^n+2), A008805.
Sequence in context: A144432 A010686 A021070 * A098190 A339353 A050349
KEYWORD
cofr,cons,easy,nonn,mult
AUTHOR
Klaus Brockhaus, Apr 13 2010
STATUS
approved

Lookup | Welcome | Wiki | Register | Music | Plot 2 | Demos | Index | Browse | More | WebCam
Contribute new seq. or comment | Format | Style Sheet | Transforms | Superseeker | Recents
The OEIS Community | Maintained by The OEIS Foundation Inc.

License Agreements, Terms of Use, Privacy Policy. .

Last modified March 19 02:58 EDT 2024. Contains 370952 sequences. (Running on oeis4.)