OFFSET
1,1
COMMENTS
Numbers n such that A046072(n) = 8.
MATHEMATICA
A046072[n_] := Which[n == 1 || n == 2, 1,
OddQ[n], PrimeNu[n],
EvenQ[n] && !Divisible[n, 4], PrimeNu[n] - 1,
Divisible[n, 4] && !Divisible[n, 8], PrimeNu[n],
Divisible[n, 8], PrimeNu[n] + 1];
Select[Range[120, 120*10^5, 120], A046072[#] == 8&] (* Jean-François Alcover, Dec 22 2021, after Geoffrey Critzer in A046072 *)
PROG
(PARI) for(n=1, 10^7, my(t=#(znstar(n)[2])); if(t==8, print1(n, ", ")));
CROSSREFS
KEYWORD
nonn
AUTHOR
Joerg Arndt, May 05 2016
STATUS
approved