login

Year-end appeal: Please make a donation to the OEIS Foundation to support ongoing development and maintenance of the OEIS. We are now in our 61st year, we have over 378,000 sequences, and we’ve reached 11,000 citations (which often say “discovered thanks to the OEIS”).

A370969
First differences of A337486.
2
5, 4, 2, 2, 4, 2, 2, 4, 2, 2, 4, 2, 2, 4, 2, 1, 1, 4, 2, 2, 4, 2, 6, 2, 2, 2, 6, 4, 2, 2, 4, 2, 1, 1, 1, 3, 1, 1, 4, 2, 4, 1, 3, 2, 2, 1, 3, 2, 2, 4, 2, 2, 1, 1, 6, 4, 1, 1, 2, 4, 2, 2, 3, 1, 2, 1, 1, 4, 1, 1, 3, 3, 2, 4, 2, 4, 4, 2, 2, 4, 2, 2, 4, 2, 2, 2, 6
OFFSET
1,1
LINKS
PROG
(Python)
from itertools import count, islice
def A370969_gen(): # generator of terms
c, m = 1, 1
for n in count(2):
a, b = divmod(c, n)
if not b:
yield n-m
c, m = a, n
else:
c *= n
A370969_list = list(islice(A370969_gen(), 30)) # Chai Wah Wu, Apr 11 2024
CROSSREFS
Sequence in context: A375708 A246966 A081749 * A074825 A225063 A309442
KEYWORD
nonn
AUTHOR
N. J. A. Sloane, Apr 11 2024
STATUS
approved