OFFSET
1,3
COMMENTS
LINKS
K. G. Stier, Table of n, a(n) for n = 1..7739
EXAMPLE
a(13) = 3, because the 13th odd nonprime is 55, and the largest power of 2 dividing 55+1 is 3.
PROG
(PARI) lista(nn) = {forstep(n=1, nn, 2, if (! isprime(n), print1(valuation(n+1, 2), ", ")); ); } \\ Michel Marcus, Mar 13 2014
CROSSREFS
KEYWORD
nonn
AUTHOR
K. G. Stier, Mar 10 2014
STATUS
approved