login
This site is supported by donations to The OEIS Foundation.
Logo

Hints
(Greetings from The On-Line Encyclopedia of Integer Sequences!)
A105348 An indicator sequence for the Jacobsthal numbers. 9
1, 2, 0, 1, 0, 1, 0, 0, 0, 0, 0, 1, 0, 0, 0, 0, 0, 0, 0, 0, 0, 1, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 1, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 1, 0, 0, 0, 0 (list; graph; refs; listen; history; internal format)
OFFSET

0,2

COMMENTS

a(n) is the number of solutions to the Diophantine equation 2x^2-(9n+1)x+9n^2=1 where valid solutions are restricted to powers of 4. - Hieronymus Fischer (Hieronymus.Fischer(AT)gmx.de), May 17 2007

FORMULA

G.f. : sum{k>=0, x^A001045(k)}

a(n)=1+floor(log_2(3n+1))-ceiling(log_2(3n-1))=floor(log_2(3n+1))-floor(log_2(3n-2)) for n>=1. Also true: a(n)=1+A130249(n)-A130250(n))=A130253(n)-A130250(n)=A130250(n+1)-A13050(n) for n>=0. - Hieronymus Fischer (Hieronymus.Fischer(AT)gmx.de), May 17 2007

EXAMPLE

a(1)=2 since J(1)=J(2)=1.

CROSSREFS

For partial sums see A130253. Cf. A130249, A130250.

Sequence in context: A111593 A111594 A203951 * A016406 A129182 A116857

Adjacent sequences:  A105345 A105346 A105347 * A105349 A105350 A105351

KEYWORD

easy,nonn

AUTHOR

Paul Barry (pbarry(AT)wit.ie), Apr 01 2005

Lookup | Welcome | Wiki | Register | Music | Plot 2 | Demos | Index | Browse | More | WebCam
Contribute new seq. or comment | Format | Transforms | Puzzles | Hot | Classics
Recent Additions | More pages | Superseeker | Maintained by The OEIS Foundation Inc.

Content is available under The OEIS End-User License Agreement .

Last modified February 16 08:00 EST 2012. Contains 205881 sequences.