cp's OEIS Frontend

This is a front-end for the Online Encyclopedia of Integer Sequences, made by Christian Perfect. The idea is to provide OEIS entries in non-ancient HTML, and then to think about how they're presented visually. The source code is on GitHub.

A370969 First differences of A337486.

This page as a plain text file.
%I A370969 #14 Apr 11 2024 15:55:29
%S A370969 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,
%T A370969 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,
%U A370969 1,1,3,3,2,4,2,4,4,2,2,4,2,2,4,2,2,2,6
%N A370969 First differences of A337486.
%H A370969 Amiram Eldar, <a href="/A370969/b370969.txt">Table of n, a(n) for n = 1..10000</a>
%o A370969 (Python)
%o A370969 from itertools import count, islice
%o A370969 def A370969_gen(): # generator of terms
%o A370969     c, m = 1, 1
%o A370969     for n in count(2):
%o A370969         a, b = divmod(c,n)
%o A370969         if not b:
%o A370969             yield n-m
%o A370969             c, m = a, n
%o A370969         else:
%o A370969             c *= n
%o A370969 A370969_list = list(islice(A370969_gen(),30)) # _Chai Wah Wu_, Apr 11 2024
%Y A370969 Cf. A008336, A337486.
%K A370969 nonn
%O A370969 1,1
%A A370969 _N. J. A. Sloane_, Apr 11 2024