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!)
A345647 Square array read by downward antidiagonals: A(n, k) = number of primes in the interval [n+1, n+k], n >= 1, k > 1. 0
1, 1, 0, 2, 1, 1, 2, 1, 1, 0, 3, 2, 2, 1, 1, 3, 2, 2, 1, 1, 0, 3, 2, 2, 1, 1, 0, 0, 3, 2, 2, 1, 1, 0, 0, 0, 4, 3, 3, 2, 2, 1, 1, 1, 1, 4, 3, 3, 2, 2, 1, 1, 1, 1, 0, 5, 4, 4, 3, 3, 2, 2, 2, 2, 1, 1, 5, 4, 4, 3, 3, 2, 2, 2, 2, 1, 1, 0, 5, 4, 4, 3, 3, 2, 2, 2, 2 (list; table; graph; refs; listen; history; text; internal format)
OFFSET
1,4
COMMENTS
Conjecture: If A(n, k) = 0, then A001221(Product_{x=1..k}(n+x)) >= k (cf. Wikipedia).
LINKS
EXAMPLE
The array starts as follows:
1, 1, 2, 2, 3, 3, 3, 3, 4, 4, 5, 5, 5, 5, 6, 6
0, 1, 1, 2, 2, 2, 2, 3, 3, 4, 4, 4, 4, 5, 5, 6
1, 1, 2, 2, 2, 2, 3, 3, 4, 4, 4, 4, 5, 5, 6, 6
0, 1, 1, 1, 1, 2, 2, 3, 3, 3, 3, 4, 4, 5, 5, 5
1, 1, 1, 1, 2, 2, 3, 3, 3, 3, 4, 4, 5, 5, 5, 5
0, 0, 0, 1, 1, 2, 2, 2, 2, 3, 3, 4, 4, 4, 4, 5
0, 0, 1, 1, 2, 2, 2, 2, 3, 3, 4, 4, 4, 4, 5, 5
0, 1, 1, 2, 2, 2, 2, 3, 3, 4, 4, 4, 4, 5, 5, 5
1, 1, 2, 2, 2, 2, 3, 3, 4, 4, 4, 4, 5, 5, 5, 5
0, 1, 1, 1, 1, 2, 2, 3, 3, 3, 3, 4, 4, 4, 4, 4
1, 1, 1, 1, 2, 2, 3, 3, 3, 3, 4, 4, 4, 4, 4, 4
0, 0, 0, 1, 1, 2, 2, 2, 2, 3, 3, 3, 3, 3, 3, 4
0, 0, 1, 1, 2, 2, 2, 2, 3, 3, 3, 3, 3, 3, 4, 4
0, 1, 1, 2, 2, 2, 2, 3, 3, 3, 3, 3, 3, 4, 4, 5
1, 1, 2, 2, 2, 2, 3, 3, 3, 3, 3, 3, 4, 4, 5, 5
0, 1, 1, 1, 1, 2, 2, 2, 2, 2, 2, 3, 3, 4, 4, 4
PROG
(PARI) a(n, k) = primepi(n+k)-primepi(n+1)
array(rows, cols) = for(x=1, rows, for(y=2, cols+1, print1(a(x, y), ", ")); print(""))
array(16, 16) \\ Print initial 16 rows and 16 columns of the array
CROSSREFS
Sequence in context: A336708 A308424 A317489 * A091950 A014750 A015491
KEYWORD
nonn,tabl
AUTHOR
Felix Fröhlich, Jun 21 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 25 10:43 EDT 2024. Contains 371967 sequences. (Running on oeis4.)