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.

A347260 Lexicographically earliest sequence S of distinct nonnegative terms such that the digits of (a(n) + a(n+1)) are the first n digits of S.

This page as a plain text file.
%I A347260 #50 Mar 24 2025 06:03:24
%S A347260 1,0,10,91,919,9190,91901,919018,9190173,91901746,919017453,
%T A347260 9190174538,91901745381,919017453809,9190174538100,91901745380991,
%U A347260 919017453809928,9190174538099262,91901745380992639,919017453809926380,9190174538099263811,91901745380992638108,919017453809926381082,9190174538099263810819,91901745380992638108199,919017453809926381081990
%N A347260 Lexicographically earliest sequence S of distinct nonnegative terms such that the digits of (a(n) + a(n+1)) are the first n digits of S.
%C A347260 A self-describing sequence.
%H A347260 Dominic McCarty, <a href="/A347260/b347260.txt">Table of n, a(n) for n = 1..1000</a>
%e A347260 a(1) + a(2) = 1 + 0 = 1 and this 1 is the first digit of S;
%e A347260 a(2) + a(3) = 0 + 10 = 10 and 1, 0 are the first 2 digits of S;
%e A347260 a(3) + a(4) = 10 + 91 = 101 and 1, 0, 1 are the first 3 digits of S;
%e A347260 a(4) + a(5) = 91 + 919 = 1010 and 1, 0, 1, 0 are the first 4 digits of S;
%e A347260 a(5) + a(6) = 919 + 9190 = 10109 and 1, 0, 1, 0, 9 are the first 5 digits of S;
%e A347260 etc.
%o A347260 (Python)
%o A347260 a=[1]
%o A347260 while len(a)<20:a.append(int("".join(map(str,a))[:len(a)])-a[-1])
%o A347260 print(a) # _Dominic McCarty_, Mar 21 2025
%Y A347260 Cf. A300000.
%K A347260 base,nonn
%O A347260 1,3
%A A347260 _Eric Angelini_ and _Carole Dubois_, Sep 30 2021