A191217 Numbers n such that sigma(n) is congruent to 2 modulo 4.
5, 10, 13, 17, 20, 26, 29, 34, 37, 40, 41, 45, 52, 53, 58, 61, 68, 73, 74, 80, 82, 89, 90, 97, 101, 104, 106, 109, 113, 116, 117, 122, 136, 137, 146, 148, 149, 153, 157, 160, 164, 173, 178, 180, 181, 193, 194, 197, 202, 208, 212, 218, 226, 229, 232, 233, 234, 241, 244, 245, 257, 261, 269
Offset: 1
Keywords
Examples
For n=2, a(2) = 10 since sigma(10) = 18 = 4*4 + 2 is congruent to 2 modulo 4
Links
- Ray Chandler, Table of n, a(n) for n = 1..10000
Crossrefs
Programs
-
Maple
with(numtheory): gen := proc(b) local n,s,d; for n from 1 to b do s := sigma(n); if modp(s,4)=2 then print(n); fi; od; end;
-
PARI
for(n=1,10^3,if(2==(sigma(n)%4),print1(n,", "))) /* Joerg Arndt, May 27 2011 */
Comments