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!)
A126720 Primes p such that p - q = 24, where q is the previous prime before p; or prime numbers preceded by precisely 23 composite numbers. 1

%I #11 Mar 13 2020 12:38:08

%S 1693,2203,4201,4547,4783,5261,6197,6421,6761,7103,7393,7817,8147,

%T 8353,9091,11027,11657,11863,12097,12143,13033,13291,16057,16217,

%U 16477,16787,16811,17077,17707,18013,18617,18661,19207,19531,20507,22433,22901

%N Primes p such that p - q = 24, where q is the previous prime before p; or prime numbers preceded by precisely 23 composite numbers.

%H Amiram Eldar, <a href="/A126720/b126720.txt">Table of n, a(n) for n = 1..10000</a>

%F a(n) = A098974(n) + 24. - _Amiram Eldar_, Mar 13 2020

%F a(n) >> n log^2 n. - _Charles R Greathouse IV_, Mar 13 2020

%t a = {}; Do[If[Prime[x + 1] - Prime[x] == 24, AppendTo[a, Prime[x + 1]]], {x, 1, 10000}]; a

%o (PARI) q=2; forprime(p=3,1e5, if(p-q==24, print1(p", ")); q=p) \\ _Charles R Greathouse IV_, Mar 13 2020

%Y Cf. A000230, A033560, A031505, A031925, A031927, A098974, A098976, A061779.

%K nonn,easy

%O 1,1

%A _Artur Jasinski_, Feb 13 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 24 22:17 EDT 2024. Contains 371964 sequences. (Running on oeis4.)