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.
%I A361897 #64 Sep 27 2023 15:02:58 %S A361897 1,1,1,0,1,1,1,0,0,0,0,1,0,0,0,0,1,1,1,0,1,1,1,0,1,1,1,0,1,1,1,1,1,1, %T A361897 1,1,1,1,1,1,0,0,0,0,0,0,0,1,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,1,1,1,0, %U A361897 1,1,1,0,0,0,0,1,0,0,0,0,0,0,0,1,0,0,0,1,0,0,0,1,0,0,0,0,1,1,1,0,1,1,1,0,0 %N A361897 Leading terms of the rows of the array in A362450; or, Gilbreath transform of tau (A000005). %C A361897 Conjecture: All terms are either 0 or 1. Verified to a(10^7). %C A361897 Inspired by Gilbreath's conjecture, A036262. %C A361897 Using the terminology of A362451, this is the Gilbreath transform of tau (A000005). - _N. J. A. Sloane_, May 05 2023 %H A361897 N. J. A. Sloane, <a href="/A361897/b361897.txt">Table of n, a(n) for n = 1..10000</a> %H A361897 N. J. A. Sloane, New Gilbreath Conjectures, Sum and Erase, Dissecting Polygons, and Other New Sequences, Doron Zeilberger's Exper. Math. Seminar, Rutgers, Sep 14 2023: <a href="https://vimeo.com/866583736?share=copy">Video</a>, <a href="http://neilsloane.com/doc/EMSep2023.pdf">Slides</a>, <a href="http://neilsloane.com/doc/EMSep2023.Updates.txt">Updates</a>. (Mentions this sequence.) %H A361897 <a href="/index/Ge#Gilbreath">Index entries for sequences related to Gilbreath conjecture and transform</a> %e A361897 Table begins (conjecture is leading terms are 0 or 1): %e A361897 1 2 2 3 2 4 2 4 3 4 2 6 2 4 4 5 2 6 2 6 4 4 2 8 3 4 4 6 2 8 2 6 4 4 4 9 2 4 4 ... %e A361897 1 0 1 1 2 2 2 1 1 2 4 4 2 0 1 3 4 4 4 2 0 2 6 5 1 0 2 4 6 6 4 2 0 0 5 7 2 0 ... %e A361897 1 1 0 1 0 0 1 0 1 2 0 2 2 1 2 1 0 0 2 2 2 4 1 4 1 2 2 2 0 2 2 2 0 5 2 5 2 4 ... %e A361897 0 1 1 1 0 1 1 1 1 2 2 0 1 1 1 1 0 2 0 0 2 3 3 3 1 0 0 2 2 0 0 2 5 3 3 3 2 ... %e A361897 1 0 0 1 1 0 0 0 1 0 2 1 0 0 0 1 2 2 0 2 1 0 0 2 1 0 2 0 2 0 2 3 2 0 0 1 0 ... %e A361897 1 0 1 0 1 0 0 1 1 2 1 1 0 0 1 1 0 2 2 1 1 0 2 1 1 2 2 2 2 2 1 1 2 0 1 1 ... %e A361897 1 1 1 1 1 0 1 0 1 1 0 1 0 1 0 1 2 0 1 0 1 2 1 0 1 0 0 0 0 1 0 1 2 1 0 1 ... %e A361897 0 0 0 0 1 1 1 1 0 1 1 1 1 1 1 1 2 1 1 1 1 1 1 1 1 0 0 0 1 1 1 1 1 1 1 ... %e A361897 0 0 0 1 0 0 0 1 1 0 0 0 0 0 0 1 1 0 0 0 0 0 0 0 1 0 0 1 0 0 0 0 0 0 0 ... %e A361897 0 0 1 1 0 0 1 0 1 0 0 0 0 0 1 0 1 0 0 0 0 0 0 1 1 0 1 1 0 0 0 0 0 0 ... %e A361897 0 1 0 1 0 1 1 1 1 0 0 0 0 1 1 1 1 0 0 0 0 0 1 0 1 1 0 1 0 0 0 0 0 1 ... %e A361897 1 1 1 1 1 0 0 0 1 0 0 0 1 0 0 0 1 0 0 0 0 1 1 1 0 1 1 1 0 0 0 0 1 ... %e A361897 etc. %e A361897 ... %e A361897 The first two rows are A000005, abs(A051950). The full table, read by antidiagonals, is A362450. %p A361897 N:= 200: # for a(1) to a(N) %p A361897 L:= [seq(numtheory:-tau(n),n=1..N)]: %p A361897 for i from 1 to 105 do %p A361897 R[i]:= L[1]; %p A361897 L:= map(abs,L[2..-1]-L[1..-2]) %p A361897 od: %p A361897 seq(R[i],i=1..M); # _Robert Israel_, May 07 2023 %t A361897 a[n_] := NestWhile[ Abs@ Differences@ # &, Table[ DivisorSigma[0, m], {m, n}], Length[##] > 1 &][[1]]; Array[a, 105] %t A361897 (* or *) %t A361897 mx = 105; lst = {}; k = 0; d = Array[ DivisorSigma[0, #] &, mx]; While[k < mx, AppendTo[lst, d[[1]]]; d = Abs@ Differences@ d; k++]; lst %t A361897 (* or *) %t A361897 A361897[nmax_]:=Module[{d=DivisorSigma[0,Range[nmax]]},Join[{1},Table[First[d=Abs[Differences[d]]],nmax-1]]];A361897[200] (* _Paolo Xausa_, May 07 2023 *) %o A361897 (PARI) lista(nn) = my(v=apply(numdiv, [1..nn]), list = List(), nb=nn); listput(list, v[1]); for (n=2, nn, nb--; my(w = vector(nb, k, abs(v[k+1]-v[k]))); listput(list, w[1]); v = w;); Vec(list); %o A361897 lista(200) \\ _Michel Marcus_, Mar 29 2023 %Y A361897 Cf. A000005, A036262, A051950, A362450, A362451, A362452, A362453 (0's), A362454 (1's). %Y A361897 See also A001659 (if don't use absolute values). %K A361897 easy,nonn %O A361897 1,1 %A A361897 Wayman Eduardo Luy and _Robert G. Wilson v_, Mar 28 2023 %E A361897 Edited by _N. J. A. Sloane_, Apr 30 2023