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!)
A367992 Smallest nonprime that is the n-th prime plus a multiple of the (n-1)-st primorial. 0
4, 9, 35, 187, 221, 2323, 120137, 1021039, 19399403, 223092899, 6469693261, 200560490167, 7420738134851, 304250263527253, 39248283995010137, 614889782588491463, 65178316954380089519, 3845520700308425278201, 117288381359406970983337, 7858321551080267055879161 (list; graph; refs; listen; history; text; internal format)
OFFSET
1,1
LINKS
EXAMPLE
For n = 1, the n-th prime (2) plus a multiple m of the (n-1) primorial (1) is 2+m, giving the smallest nonprime, a(1)=4, when m=2.
For n = 4, the n-th prime (7) plus a multiple m of the (n-1) primorial (30) is 7+30m, giving the smallest nonprime, a(4)=187, when m=6.
MATHEMATICA
a[n_] := Module[{p = Prime[n], r = Product[Prime[i], {i, 1, n - 1}]}, While[p += r; PrimeQ[p]]; p]; Array[a, 20] (* Amiram Eldar, Dec 07 2023 *)
CROSSREFS
Sequence in context: A182723 A176607 A134815 * A352002 A120073 A056894
KEYWORD
nonn
AUTHOR
Don N. Page, Dec 07 2023
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 August 20 10:49 EDT 2024. Contains 375325 sequences. (Running on oeis4.)