login
Class 10+ primes.
12

%I #8 Mar 26 2024 07:04:06

%S 1065601,2424973,5114881,7222561,8124481,8524091,8647411,8650321,

%T 9190681,9287521,9590417,10617601,10929817,11996161,12349093,12508081,

%U 12786181,12971117,13570681,14113027,14308123,14312743,14476807

%N Class 10+ primes.

%D R. K. Guy, Unsolved Problems in Number Theory, A18.

%H R. J. Mathar, <a href="/A081638/b081638.txt">Table of n, a(n) for n = 1..360</a>

%p For Maple program see Mathar link in A005105.

%t PrimeFactors[n_Integer] := Flatten[ Table[ #[[1]], {1}] & /@ FactorInteger[n]]; f[n_Integer] := Block[{m = n}, If[m == 0, m = 1, While[ IntegerQ[m/2], m /= 2]; While[ IntegerQ[m/3], m /= 3]]; Apply[Times, PrimeFactors[m] + 1]]; ClassPlusNbr[n_] := Length[ NestWhileList[f, n, UnsameQ, All]] - 3; Prime[ Select[ Range[150000], ClassPlusNbr[ Prime[ # ]] == 10 &]]

%Y Cf. A005113, A005105, A005106, A005107, A005108, A081633, A081634, A081635, A081636, A081637, A081639.

%K nonn

%O 1,1

%A _Robert G. Wilson v_, Mar 20 2003