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!)
A309317 a(n) is the maximum number of consecutive primes that can be produced as the differences of n integers. 0
1, 3, 4, 6, 10, 12, 15, 19, 22, 25, 30, 35, 38, 42, 48, 53, 59, 62, 68 (list; graph; refs; listen; history; text; internal format)
OFFSET
2,2
LINKS
FORMULA
n - 1 <= a(n-1) + 1 <= a(n) <= (n^2-n)/2 for any n >= 3. - Jinyuan Wang, Aug 03 2019
EXAMPLE
For n = 2, (0, 2) gives 2 = 2 - 0.
For n = 3, (0, 2, 5) gives 2 = 2 - 0, 3 = 5 - 2, 5 = 5 - 0.
For n = 4, (0, 2, 3, 7) gives 2, 3, 5, 7.
For n = 5, (0, 2, 5, 6, 13) gives 2, 3, 5, 7, 11, 13.
For n = 6, (0, 6, 17, 19, 22, 29) gives 2, 3, 5, 7, 11, 13, 17, 19, 23, 29.
For n = 7, (0, 6, 7, 24, 26, 29, 37) gives 2, 3, 5, 7, 11, 13, 17, 19, 23, 29, 31, 37.
For n = 8, (0, 1, 5, 8, 29, 31, 42, 48) gives 2, 3, 5, 7, 11, 13, 17, 19, 23, 29, 31, 37, 41, 43, 47.
CROSSREFS
Sequence in context: A031132 A322165 A057477 * A249666 A113887 A103000
KEYWORD
nonn,more
AUTHOR
Andrey Borisov, Jul 23 2019
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 03:30 EDT 2024. Contains 371906 sequences. (Running on oeis4.)