OFFSET
1,1
REFERENCES
J.-P. Delahaye, Des suites fractales d’entiers, Pour la Science, No. 531 January 2022. Sequence b) p. 82.
EXAMPLE
As a triangle, this begins:
[2]
[3, 2]
[5, 4, 3]
[7, 6, 5, 4]
[11, 10, 9, 8, 7]
[13, 12, 11, 10, 9, 8]
[17, 16, 15, 14, 13, 12, 11]
[19, 18, 17, 16, 15, 14, 13, 12]
[23, 22, 21, 20, 19, 18, 17, 16, 15]
...
MAPLE
a:=[];
for n from 1 to 16 do
t1:=[seq(ithprime(n)-i, i=0..n-1)];
lprint(t1);
a:=[op(a), op(t1)];
od:
a; # N. J. A. Sloane, Dec 18 2021
PROG
(Python)
from sympy import prime
from itertools import count, islice
def agen():
for i in count(1):
pi = prime(i)
yield from range(pi, pi-i, -1)
print(list(islice(agen(), 69))) # Michael S. Branicky, Dec 18 2021
CROSSREFS
KEYWORD
nonn,tabf
AUTHOR
Michel Marcus, Dec 18 2021
STATUS
approved