The OEIS mourns the passing of Jim Simons and is grateful to the Simons Foundation for its support of research in many branches of science, including the OEIS.
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!)
A176355 Periodic sequence: Repeat 6, 1. 1

%I #20 Jan 01 2023 02:29:05

%S 6,1,6,1,6,1,6,1,6,1,6,1,6,1,6,1,6,1,6,1,6,1,6,1,6,1,6,1,6,1,6,1,6,1,

%T 6,1,6,1,6,1,6,1,6,1,6,1,6,1,6,1,6,1,6,1,6,1,6,1,6,1,6,1,6,1,6,1,6,1,

%U 6,1,6,1,6,1,6,1,6,1,6,1,6,1,6,1,6,1,6,1,6,1,6,1,6,1,6,1,6,1,6,1,6,1,6,1,6

%N Periodic sequence: Repeat 6, 1.

%C Interleaving of A010722 and A000012.

%C Also continued fraction expansion of 3+sqrt(15).

%C Also decimal expansion of 61/99.

%C Essentially first differences of A047335.

%C Binomial transform of 6 followed by A166577 without initial terms 1, 4.

%C Inverse binomial transform of A005009 preceded by 6.

%H <a href="/index/Rec#order_02">Index entries for linear recurrences with constant coefficients</a>, signature (0,1).

%F G.f.: (6 + x)/(1 - x^2).

%F a(n) = (7 + 5*(-1)^n)/2.

%F a(n) = a(n-2) for n>1, a(0)=6, a(1)=1.

%F a(n) = -a(n-1)+7 for n>0, a(0)=6.

%F a(n) = 6*((n+1) mod 2) + (n mod 2).

%F a(n) = A010687(n+1).

%F a(n) = 13^n mod 7. - _Vincenzo Librandi_, Jun 01 2016

%F From _Amiram Eldar_, Jan 01 2023: (Start)

%F Multiplicative with a(2^e) = 6, and a(p^e) = 1 for p >= 3.

%F Dirichlet g.f.: zeta(s)*(1+5/2^s). (End)

%t PadRight[{},120,{6,1}] (* _Harvey P. Dale_, Apr 12 2018 *)

%o (Magma) &cat[ [6, 1]: n in [0..52] ];

%o (Magma) [(7+5*(-1)^n)/2: n in [0..104]];

%Y Cf. A010722 (all 6's sequence), A000012 (all 1's sequence), A092294 (decimal expansion of 3+sqrt(15), A010687 (repeat 1, 6), A047335 (congruent to 0 or 6 mod 7), A166577, A005009 (7*2^n).

%K cofr,cons,easy,nonn,mult

%O 0,1

%A _Klaus Brockhaus_, Apr 15 2010

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 May 18 00:50 EDT 2024. Contains 372608 sequences. (Running on oeis4.)