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!)
A097440 Least k such that k*prime(n)#/2 - 2 and k*prime(n)#/2 + 4 are consecutive primes, where prime(n)# is the n-th primorial. 4
25, 11, 5, 7, 27, 17, 1, 53, 105, 175, 39, 15, 15, 25, 149, 35, 117, 119, 317, 65, 123, 43, 187, 173, 119, 1397, 439, 313, 17, 429, 403, 675, 395, 1491, 135, 1427, 801, 87, 169, 481, 753, 319, 133, 73, 133, 89, 275, 1155, 1665, 157, 217, 3121, 279, 2485, 305 (list; graph; refs; listen; history; text; internal format)
OFFSET
1,1
LINKS
EXAMPLE
25*2/2 = 25, 23 and 29 are consecutive primes so a(1) = 25.
11*2*3/2 = 33, 31 and 37 are consecutive primes so a(2) = 11.
MATHEMATICA
a[n_] := Module[{k = 1, p = Product[Prime[i], {i, 1, n}]}, While[!(PrimeQ[k*p/2-2] && NextPrime[k*p/2-2] == k*p/2+4), k++]; k]; Array[a, 55] (* Amiram Eldar, Jul 17 2021 *)
CROSSREFS
Cf. A002110.
Sequence in context: A217432 A040604 A358131 * A040603 A033345 A241309
KEYWORD
nonn
AUTHOR
Pierre CAMI, Aug 22 2004
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 19 16:38 EDT 2024. Contains 371794 sequences. (Running on oeis4.)