login
The OEIS is supported by the many generous donors to the OEIS Foundation.

 

Logo
Hints
(Greetings from The On-Line Encyclopedia of Integer Sequences!)
A005110 Class 2- primes (for definition see A005109).
(Formerly M4783)
14

%I M4783 #22 Mar 15 2015 18:51:44

%S 11,29,31,41,43,53,61,71,79,101,103,113,127,131,137,149,151,157,181,

%T 191,197,211,223,229,239,241,251,271,281,293,307,313,337,379,389,401,

%U 409,421,439,443,449,457,491,521,541,547,571,593,601,613,631,641,647,653,673

%N Class 2- primes (for definition see A005109).

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

%D N. J. A. Sloane and Simon Plouffe, The Encyclopedia of Integer Sequences, Academic Press, 1995 (includes this sequence).

%H R. J. Mathar, <a href="/A005110/b005110.txt">Table of n, a(n) for n = 1..13766</a>

%t PrimeFactors[n_Integer] := Flatten[ Table[ #[[1]], {1}] & /@ FactorInteger[n]];

%t f[n_Integer] := Block[{m = n}, If[m == 0, m = 1, While[ IntegerQ[m/2], m /= 2];

%t While[ IntegerQ[m/3], m /= 3]];

%t Apply[Times, PrimeFactors[m] - 1]];

%t ClassMinusNbr[n_] := Length[NestWhileList[f, n, UnsameQ, All]] - 3;

%t Prime[ Select[ Range[122], ClassMinusNbr[ Prime[ # ]] == 2 &] ] (* _Robert G. Wilson v_ *)

%Y Cf. A005113, A056637, A005109, A005111, A005112, A081424, A081425, A081426, A081427, A081428, A081429, A081430.

%K nonn

%O 1,1

%A _N. J. A. Sloane_, _Simon Plouffe_

%E Edited and extended by _Robert G. Wilson v_, Mar 20 2003

%E Corrected by _R. J. Mathar_, Feb 01 2007

Lookup | Welcome | Wiki | Register | Music | Plot 2 | Demos | Index | Browse | More | WebCam
Contribute new seq. or comment | Format | Style Sheet | Transforms | Superseeker | Recents
The OEIS Community | Maintained by The OEIS Foundation Inc.

License Agreements, Terms of Use, Privacy Policy. .

Last modified April 25 01:35 EDT 2024. Contains 371964 sequences. (Running on oeis4.)