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!)
A350169 Write 1st prime and decrement 0 times, then write 2nd prime and decrement once, write 3rd prime and decrement twice, write 4th prime and decrement 3 times, etc ... 0
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, 29, 28, 27, 26, 25, 24, 23, 22, 21, 20, 31, 30, 29, 28, 27, 26, 25, 24, 23, 22, 21, 37, 36, 35, 34, 33, 32, 31, 30, 29, 28, 27, 26 (list; graph; refs; listen; history; text; internal format)
OFFSET
1,1
REFERENCES
J.-P. Delahaye, Des suites fractales d’entiers, Pour la Science, No. 531 January 2022. Sequence b) p. 82.
LINKS
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
Cf. A000040.
Sequence in context: A075861 A205706 A141658 * A089587 A278327 A067316
KEYWORD
nonn,tabf
AUTHOR
Michel Marcus, Dec 18 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 July 13 11:10 EDT 2024. Contains 374282 sequences. (Running on oeis4.)