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!)
A097441 Least k such that k*prime(n)#/2 - 4 and k*prime(n)#/2 + 2 are consecutive primes, where prime(n)# is the n-th primorial. 4
27, 9, 9, 9, 7, 27, 7, 9, 19, 9, 21, 1, 267, 47, 1, 69, 307, 19, 585, 37, 147, 313, 159, 251, 99, 73, 355, 197, 225, 545, 99, 5, 481, 2359, 337, 285, 95, 993, 903, 279, 779, 123, 519, 1201, 1717, 1551, 261, 123, 1649, 1571, 87, 1325, 537, 201, 2131, 1403, 205, 863 (list; graph; refs; listen; history; text; internal format)
OFFSET
1,1
LINKS
EXAMPLE
27*2/2 = 27, 23 and 29 are consecutive primes so a(1) = 27.
9*2*3/2 = 27 so a(2) = 9.
MATHEMATICA
a[n_] := Module[{k = 1, p = Product[Prime[i], {i, 1, n}]}, While[!(PrimeQ[k*p/2-4] && NextPrime[k*p/2-4] == k*p/2+2), k++]; k]; Array[a, 60] (* Amiram Eldar, Jul 17 2021 *)
CROSSREFS
Cf. A002110.
Sequence in context: A040710 A040708 A214103 * A040707 A040706 A069893
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 July 14 19:09 EDT 2024. Contains 374323 sequences. (Running on oeis4.)