OFFSET
1,1
COMMENTS
FORMULA
EXAMPLE
a(4)=9 because (2*4-1) = 7 -> (5*7+1)/2^2 = 9.
MATHEMATICA
nextOddK[n_] := Module[{m=5n+1}, While[EvenQ[m], m=m/2]; m]; (* assumes odd n *) Table[nextOddK[n], {n, 1, 200, 2}]
PROG
(PARI) a(n) = my(m = 2*n-1, c = 5*m+1); c/2^valuation(c, 2); \\ Michel Marcus, Mar 27 2016
CROSSREFS
KEYWORD
nonn,easy
AUTHOR
Michel Lagneau, Mar 27 2016
STATUS
approved