login

Year-end appeal: Please make a donation to the OEIS Foundation to support ongoing development and maintenance of the OEIS. We are now in our 61st year, we have over 378,000 sequences, and we’ve reached 11,000 citations (which often say “discovered thanks to the OEIS”).

A112991
a(n)=ceiling(2^(mod(2^n,n)+1)/3)-ceiling(2^mod(2^n,n)/3).
0
1, 0, 0, 1, 0, 1, 5, 1, 0, 85, 5, 1, 5, 1, 5, 85, 0, 1, 341, 1, 21845, 85, 5, 1, 21845, 43, 5, 22369621, 21845, 1, 5, 1, 0, 85, 5, 87381, 89478485, 1, 5, 85, 21845, 1, 1398101, 1, 21845, 43691, 5, 1, 21845, 357913941, 5592405, 85, 21845, 1, 89478485
OFFSET
0,7
COMMENTS
A sequence of Jacobsthal numbers.
CROSSREFS
Cf. A001045.
Sequence in context: A360176 A256042 A292604 * A346081 A137373 A220962
KEYWORD
easy,nonn
AUTHOR
Paul Barry, Oct 08 2005
STATUS
approved