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.

A341012 The cumulative sum of the even digits so far in the sequence and the cumulative sum of the odd digits so far differ by n for all a(n)s.

This page as a plain text file.
%I A341012 #17 Feb 07 2021 07:03:22
%S A341012 1,10,16,7,23,32,45,54,67,76,89,98,100,203,225,230,247,252,269,274,
%T A341012 296,302,320,405,427,449,450,472,494,504,522,540,607,629,670,692,706,
%U A341012 724,742,760,809,890,908,926,944,962,980,1000,1112,1121,1134,1143,1156,1165,1178
%N A341012 The cumulative sum of the even digits so far in the sequence and the cumulative sum of the odd digits so far differ by n for all a(n)s.
%C A341012 This is the lexicographically earliest sequence of distinct integers > 0 having this property.
%H A341012 Carole Dubois, <a href="/A341012/b341012.txt">Table of n, a(n) for n = 1..5000</a>
%e A341012 Say that the current sequence is S, the cumulative sum at any moment of the even digits of S is E, the cumulative sum at any moment of the odd digits of S is O and the absolute difference |E-O| is D. We would then have:
%e A341012 S = 1, 10, 16, 7, 23, 32, 45, 54, 67, 76, 89, 98,...
%e A341012 E = 0   0   6  6   8  10  14  18  24  30  38  46
%e A341012 O = 1   2   3 10  13  16  21  26  33  40  49  58
%e A341012 D = 1   2   3  4   5   6   7   8   9  10  11  12 <-- this is = n.
%Y A341012 Cf. A071648, A071649.
%Y A341012 Cf. A341002 (numbers whose sum of even digits and sum of odd digits differ by 1).
%K A341012 base,nonn
%O A341012 1,2
%A A341012 _Eric Angelini_ and _Carole Dubois_, Feb 02 2021