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!)
A097439 Least k such that k*prime(n)#/3 - 3 and k*prime(n)#/3 + 3 are consecutive primes, where prime(n)# is the n-th primorial. 4
39, 13, 5, 8, 7, 23, 8, 2, 35, 41, 4, 56, 37, 37, 89, 70, 443, 109, 79, 149, 116, 224, 10, 167, 31, 32, 250, 335, 383, 121, 61, 134, 41, 224, 545, 1229, 29, 253, 127, 47, 79, 32, 991, 466, 31, 1124, 634, 374, 1358, 730, 587, 119, 1375, 1303, 1102, 119, 647, 650, 265 (list; graph; refs; listen; history; text; internal format)
OFFSET
1,1
LINKS
EXAMPLE
39*2/3 = 26, 23 and 29 are consecutive primes so a(1) = 39.
13*2*3/3 = 26 so a(2) = 13.
MATHEMATICA
a[n_] := Module[{k = 1, p = Product[Prime[i], {i, 1, n}]}, While[!(PrimeQ[k*p/3-3] && NextPrime[k*p/3-3] == k*p/3+3), k++]; k]; Array[a, 60] (* Amiram Eldar, Jul 17 2021 *)
CROSSREFS
Cf. A002110.
Sequence in context: A103479 A036174 A162458 * A196092 A196089 A033359
KEYWORD
nonn
AUTHOR
Pierre CAMI, Aug 22 2004
EXTENSIONS
Data corrected by Amiram Eldar, Jul 17 2021
STATUS
approved

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 18 20:26 EDT 2024. Contains 371781 sequences. (Running on oeis4.)