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”).

A238737
a(n) = 2*n+2 - A224911(n).
0
0, 1, 1, 1, 3, 1, 1, 3, 1, 1, 3, 1, 3, 5, 1, 1, 3, 5, 1, 3, 1, 1, 3, 1, 3, 5, 1, 3, 5, 1, 1, 3, 5, 1, 3, 1, 1, 3, 5, 1, 3, 1, 3, 5, 1, 3, 5, 7, 1, 3, 1, 1, 3, 1, 1, 3, 1, 3, 5, 7, 9, 11, 13, 1, 3, 1, 3, 5, 1, 1, 3, 5, 7, 9
OFFSET
0,5
COMMENTS
It appears that a(n+2) is successively either one 1 or a string of the odd numbers.
Conjecture: the rank of 1's is A005097(n+1). This is another link between Bernoulli numbers and primes via A190339(n).
Apparently (essentially) a duplicate of A049653. - R. J. Mathar, Mar 30 2014
EXAMPLE
a(0)=2-2=0, a(1)=4-3=1, a(2)=6-5=1, a(3)=8-7=1, a(4)=10-7=3.
CROSSREFS
Sequence in context: A228925 A230405 A101685 * A049653 A281680 A377864
KEYWORD
nonn
AUTHOR
Paul Curtz, Mar 04 2014
STATUS
approved