A370969 First differences of A337486.
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
Keywords
Links
- Amiram Eldar, Table of n, a(n) for n = 1..10000
Programs
-
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