login
A005106
Class 2+ primes (for definition see A005105).
(Formerly M4889)
16
13, 19, 29, 41, 43, 59, 61, 67, 79, 83, 89, 97, 101, 109, 131, 137, 139, 149, 167, 179, 197, 199, 211, 223, 229, 239, 241, 251, 263, 269, 271, 281, 283, 293, 307, 317, 349, 359, 367, 373, 419, 433, 439, 449, 461, 479, 499, 503, 509, 557, 563, 577, 587, 593
OFFSET
1,1
REFERENCES
R. K. Guy, Unsolved Problems in Number Theory, A18.
N. J. A. Sloane and Simon Plouffe, The Encyclopedia of Integer Sequences, Academic Press, 1995 (includes this sequence).
FORMULA
{prime(n): A126433(n) = 2}. - R. J. Mathar, Mar 26 2024
MAPLE
For Maple program see Mathar link in A005105.
MATHEMATICA
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[120], ClassPlusNbr[ Prime[ # ]] == 2 &]]
CROSSREFS
KEYWORD
nonn
EXTENSIONS
Edited and extended by Robert G. Wilson v, Mar 20 2003
STATUS
approved