editing
approved
editing
approved
(PARI) list(lim)=my(field=vectorsmall(lim\=1), v=List(), x2, t); for(x=2, sqrtint(lim-1), x2=x^2; t=sqrtint(lim-x2); forstep(ye=if(t<x, t-(x-t+1)%2, x-, logint(lim\=1, 5), 4, forprimestep(p=5, sqrtnint(lim, e), 1, -2, field[x2+y4, my(pe=p^2]++)e); forstep(nm=3, 1, sqrtint(lim), 2, field[n^2]=0\pe); for(n=, 2, lim, if(field[n]==1, m%p, listput(v, npe*m^2))))); field=0; VecSet(v) \\ Charles R Greathouse IV, Jan 06 2018Feb 16 2022
approved
editing
proposed
approved
editing
proposed
(PARI) forstep(n=1, 10^3, 2, if(2==(sigma(n)%4), print1(n, ", "))) \\ _Joerg Arndt, _, May 27 2011
proposed
editing
editing
proposed
Odd numbers n such that sigma(n) is congruent to 2 modulo 4.
See A228058 for a subset of the terms with where m > 1. - Antti Karttunen, Apr 22 2019
proposed
editing
editing
proposed
See A228058 for a subset of terms with the additional criterion that m must be larger than > 1. - Antti Karttunen, Apr 22 2019
See A228058 for a subset of terms with the additional criterion that m must be larger than 1. - Antti Karttunen, Apr 22 2019
Antti Karttunen, <a href="/A191218/b191218.txt">Table of n, a(n) for n = 1..20000</a>