OFFSET
1,2
COMMENTS
A positive integer n is in A121538 iff any of the following is true: 1) n is even; 2) n+1 = 2^k where k is odd; 3) n+1 = 2^k*(2*t+1) where t>0 and k is even. - Max Alekseyev, Aug 07 2006
FORMULA
This is essentially A053661-1. - David W. Wilson, Aug 07 2006
MATHEMATICA
s={s1=1}; With[{a=2, b=1}, Do[If[FreeQ[s, (n-b)/a], AppendTo[s, n]], {n, s1+1, 100}]]; s
CROSSREFS
KEYWORD
nonn
AUTHOR
Zak Seidov, Aug 06 2006
STATUS
approved