OFFSET
1,1
COMMENTS
A091072 without the powers of 2.
LINKS
Charles R Greathouse IV, Table of n, a(n) for n = 1..10000
FORMULA
a(n) ~ 2n. - Charles R Greathouse IV, Sep 27 2015
MATHEMATICA
mx = 149; t = {}; Do[n = 2^j (4 k + 1); If[n <= mx, AppendTo[t, n]], {j, 0, Log[2, mx]}, {k, mx/4}]; Union[t] (* T. D. Noe, May 16 2013 *)
PROG
(PARI) for(n=1, 200, t=n/2^valuation(n, 2); if(t>1&&(t%4==1), print1(n, ", ")))
(PARI) is(n)=n>>=valuation(n, 2); n%4==1 && n>1 \\ Charles R Greathouse IV, Sep 27 2015
(PARI) list(lim)=my(v=List(), t); forstep(n=5, lim, 4, listput(v, t=n); while((t<<=1)<=lim, listput(v, t))); Set(v) \\ Charles R Greathouse IV, Sep 27 2015
(Magma) [n: n in [1..200] | d gt 1 and IsOne(d mod 4) where d is n div 2^Valuation(n, 2)]; // Bruno Berselli, May 16 2013
CROSSREFS
KEYWORD
nonn,easy
AUTHOR
Ralf Stephan, May 16 2013
STATUS
approved