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!)
A342309 When A123556(n) is the number of primes (not necessarily consecutive) in the longest arithmetic progression of primes with common difference n, a(n) is the smallest term of the first such arithmetic progression. 13
2, 3, 2, 3, 2, 5, 2, 3, 2, 3, 2, 5, 2, 3, 2, 3, 2, 5, 2, 3, 2, 7, 2, 59, 2, 3, 2, 3, 2, 7, 2, 5, 2, 3, 2, 31, 2, 3, 2, 3, 2, 5, 2, 3, 2, 7, 2, 5, 2, 3, 2, 7, 2, 5, 2, 3, 2, 3, 2, 11, 2, 5, 2, 3, 2, 31, 2, 3, 2, 3, 2, 7, 2, 5, 2, 3, 2, 23, 2, 3, 2, 7, 2, 5, 2, 3, 2, 13, 2, 13 (list; graph; refs; listen; history; text; internal format)
OFFSET
1,1
COMMENTS
Inspired by problem A1880 in Diophante (see link).
a(n) is the last term of the n-th row of A124064.
About the k-tuples conjecture in A123556: let p = A053669(n), if the arithmetic progression of p elements starting at p with difference n consists of primes, then A123556(n) = p, otherwise A123556(n) = p-1. The first 21 terms of this sequence are precisely the same as A053669, then a(22) = 7 (corresponding to the arithmetic progression (7,29)) while A053669(22) = 3.
LINKS
Diophante, A1880. NP en PA (in French).
FORMULA
a(2k+1) = 2.
EXAMPLE
There are only two consecutive primes (p,p+1) = (2,3), hence a(1) = 2.
(5,29,53) is the smallest arithmetic progression of 3 primes with common difference of 24, but (59,83,107,131) is the smallest arithmetic progression of 4 primes with common difference of 24 and there does not exist such an arithmetic progression with length > 4; hence, a(24) = 59.
(3,29), (5,31), (11,37) are the first three arithmetic progressions of primes with common difference of 26, the smallest term of the first arithmetic progression (3,29) is 3, and there does not exist such an arithmetic progression with length > 2, hence a(26) = 3.
CROSSREFS
Sequence in context: A284017 A236454 A053669 * A112047 A112048 A060395
KEYWORD
nonn
AUTHOR
Bernard Schott, Mar 08 2021
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 23 15:20 EDT 2024. Contains 371916 sequences. (Running on oeis4.)