OFFSET
1,1
LINKS
Amiram Eldar, Table of n, a(n) for n = 1..10000
FORMULA
A000203(n) mod 6 = 2.
{n: A084301(n) = 2}. - R. J. Mathar, May 19 2020
EXAMPLE
For k=39: sigma(39) = 1+3+13+39 = 56 = 6*9 + 2.
MATHEMATICA
Select[Range[300], Mod[DivisorSigma[1, #], 6]==2&] (* Harvey P. Dale, Nov 14 2014 *)
PROG
(PARI) isok(n) = ((sigma(n) % 6) == 2); \\ Michel Marcus, Dec 19 2013
CROSSREFS
KEYWORD
easy,nonn
AUTHOR
Labos Elemer, Aug 26 2002
STATUS
approved