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!)
A067024 Smallest prime p such that p+2 has exactly n distinct prime factors. 8
2, 13, 103, 1153, 15013, 255253, 4849843, 111546433, 4360010653, 100280245063, 5245694198743, 152125131763603, 7149881192889433, 421842990380476663, 16294579238595022363, 1106494163767990292293, 74135108972455349583763, 4632891063696575353839163, 278970415063349480483707693, 24012274383139350058948392193 (list; graph; refs; listen; history; text; internal format)
OFFSET
1,1
LINKS
Sean A. Irvine, Table of n, a(n) for n = 1..58 (terms 1..38 from Michael S. Branicky)
Michael S. Branicky, Python program
Sean A. Irvine, Java program (github)
FORMULA
a(n) = Min_{p in A000040 ; A001221(p+2) = n}.
EXAMPLE
For n = 1,...,7 the factors of 2+a(n) are as follows: 2*2, 3*5, 3*5*7, 3*5*7*11, 3*5*7*11*13, 3*5*7*11*13*17, 3*5*7*11*13*17*19; i.e., a(n) = A002110(n+1)/2 which is prime for n = 2,...,7.
PROG
(Python) # see linked program
CROSSREFS
Sequence in context: A007809 A259146 A103513 * A371583 A083062 A204261
KEYWORD
nonn
AUTHOR
Labos Elemer, Dec 29 2001
EXTENSIONS
a(8)-a(15) from Donovan Johnson, Jan 21 2009
a(16) and beyond from Michael S. Branicky, Feb 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 April 25 03:15 EDT 2024. Contains 371964 sequences. (Running on oeis4.)