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!)
A063904 a(1) = 2, a(2) = 3 and a(k+1) is the least prime not already chosen that divides some a(i)*a(j)+1, where 1<=i<j<=k. 1
2, 3, 7, 5, 11, 13, 17, 23, 29, 19, 31, 37, 41, 43, 47, 53, 59, 61, 67, 71, 73, 79, 83, 89, 97, 101, 103, 107, 109, 113, 127, 131, 137, 139, 149, 151, 157, 163, 167, 173, 179, 181, 191, 193, 197, 199, 211, 223, 227, 229, 233, 239, 241, 251, 257, 263, 269, 271 (list; graph; refs; listen; history; text; internal format)
OFFSET
1,1
COMMENTS
"Does the sequence [above] contain every prime? Is the sequence infinite?" ... "The sequence of problem [above] is not even known to be infinite, though it almost surely contains every prime. We do not know whether anyone has attacked the problem computationally; perhaps you, the reader, would like to give it a try. The problem is due to M. Newman at the Australian Nation University." - Crandall and Pomerance
Indices of primes in this sequence: 1, 2, 4, 3, 5, 6, 7, 9, 10, 8, 11, 12, 13, 14, 15, 16, 17, 18, 19, 20, ..., . It appears that only the primes 7 and 19 are out of order in the first 1000. - Robert G. Wilson v, Apr 12 2006 [corrected by Sergey Pavlov, Apr 26 2017]
No more out-of-order primes up to 100 billion. - Charles R Greathouse IV, Apr 26 2010.
REFERENCES
R. Crandall and C. Pomerance, Prime Numbers: A Computational Perspective, Springer, NY, 2001; see p. 6.
LINKS
EXAMPLE
a(3) is equal to 7 because a(1)*a(2)+1 = 2*3+1 = 7.
MATHEMATICA
a = {2, 3}; Do[len = Length@a; AppendTo[a, Complement[a, Union@ Flatten@ Table[ First /@ FactorInteger[a[[i]]*a[[j]] + 1], {i, len}, {j, i}]] [[1]]], {n, 3, 60}]; a
CROSSREFS
Cf. A063884.
Sequence in context: A275205 A327093 A171039 * A297929 A221858 A139317
KEYWORD
nonn
AUTHOR
Robert G. Wilson v, Sep 04 2001
EXTENSIONS
Comment and cross-reference from Charles R Greathouse IV, Apr 26 2010
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 16 07:05 EDT 2024. Contains 371697 sequences. (Running on oeis4.)