OFFSET
1,2
LINKS
G. C. Greubel, Table of n, a(n) for n = 1..5000
MATHEMATICA
Flatten[Table[If[Mod[DivisorSigma[0, n]*PrimePi[n], 8] == 0, n, {}], {n, 1, 200}]]
Select[Range[200], Divisible[DivisorSigma[0, #]PrimePi[#], 8]&] (* Harvey P. Dale, Apr 29 2022 *)
PROG
(PARI) for(n=1, 150, if(Mod(sigma(n, 0)*primepi(n), 8)==0, print1(n", "))) \\ G. C. Greubel, Apr 02 2019
(Magma) [n: n in [1..150] | NumberOfDivisors(n)*#PrimesUpTo(n) mod 8 eq 0 ]; // G. C. Greubel, Apr 02 2019
(Sage) [n for n in (1..150) if mod(sigma(n, 0)*prime_pi(n), 8)==0 ] # G. C. Greubel, Apr 02 2019
CROSSREFS
KEYWORD
nonn
AUTHOR
Roger L. Bagula, Sep 07 2008
EXTENSIONS
Edited by G. C. Greubel, Apr 02 2019
STATUS
approved