OFFSET
1,2
COMMENTS
Terms are a rearrangement of the odd numbers not of form 12k+9.
Also given by the following linear quasi-polynomial mod 3: (4 n - 3) If[Mod[n, 3] == 0, 1/3, 1]. [From Eric Rowland, Feb 24 2009]
LINKS
Michael De Vlieger, Table of n, a(n) for n = 1..10000
MATHEMATICA
Table[(4 n - 3) If[Mod[n, 3] == 0, 1/3, 1], {n, 50}] [From Eric Rowland, Feb 24 2009]
PROG
(PARI) a(n)=numerator((4*n-3)/n*2^valuation(n, 2))
CROSSREFS
KEYWORD
nonn
AUTHOR
Ralf Stephan, Mar 31 2004
STATUS
approved