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!)
A092900 A Jacobsthal sequence (A078008) to base 4. 1

%I #15 Apr 01 2016 06:29:17

%S 1,0,2,2,12,22,112,222,1112,2222,11112,22222,111112,222222,1111112,

%T 2222222,11111112,22222222,111111112,222222222,1111111112,2222222222,

%U 11111111112,22222222222,111111111112,222222222222,1111111111112

%N A Jacobsthal sequence (A078008) to base 4.

%H Colin Barker, <a href="/A092900/b092900.txt">Table of n, a(n) for n = 0..1000</a>

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

%F For n > 0, a(2*n+1) is represented as a string of n 2's and a(2*n) as a string of (n-1) 1's followed by a 2.

%F From _Colin Barker_, Apr 01 2016: (Start)

%F a(n) = (6+10*(-1)^n+10^(1/2*(-1+n))*(2-2*(-1)^n+sqrt(10)+(-1)^n*sqrt(10)))/18.

%F a(n) = (10^(n/2)+8)/9 for n even.

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

%F a(n) = 11*a(n-2)-10*a(n-4) for n>3.

%F G.f.: (1-9*x^2+2*x^3) / ((1-x)*(1+x)*(1-10*x^2)).

%F (End)

%e a(8)= 1112 because A078008(8) = 86 (in base 10) = 64 + 16 + 4 + 2 = 1*(4^3) + 1*(4^2) + 1*(4^1) + 2.

%o (PARI) Vec((1-9*x^2+2*x^3)/((1-x)*(1+x)*(1-10*x^2)) + O(x^30)) \\ _Colin Barker_, Apr 01 2016

%Y Cf. A081857.

%K easy,base,nonn

%O 0,3

%A _Paul Barry_, Mar 12 2004

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 June 7 03:39 EDT 2024. Contains 373140 sequences. (Running on oeis4.)