Location via proxy:   [ UP ]  
[Report a bug]   [Manage cookies]                
A053392 with duplicates removed.
0

%I #19 Sep 04 2021 20:03:38

%S 0,1,2,3,4,5,6,7,8,9,10,11,12,13,14,15,16,17,18,19,21,22,23,24,25,26,

%T 27,28,29,210,32,33,34,35,36,37,38,39,310,311,43,44,45,46,47,48,49,

%U 410,411,412,54,55,56,57,58,59

%N A053392 with duplicates removed.

%H Dana G. Korssjoen, Biyao Li, Stefan Steinerberger, Raghavendra Tripathi, and Ruimin Zhang, <a href="https://arxiv.org/abs/2012.04625">Finding structure in sequences of real numbers via graph theory: a problem list</a>, arXiv:2012.04625 [math.CO], 2020.

%t a[n_] := Total /@ Transpose[{Most[id = IntegerDigits[n]], Rest[id]}] //

%t IntegerDigits // Flatten // FromDigits; DeleteDuplicates[Table[a[n], {n, 0, 1000}]]

%o (Python) # uses A053392

%o from collections import OrderedDict

%o def afiltern(terms):

%o return list(OrderedDict.fromkeys(A053392(k) for k in range(terms)))

%o print(afiltern(179)) # _Michael S. Branicky_, Sep 04 2021

%Y Cf. A053392.

%K nonn

%O 0,3

%A _Stefan Steinerberger_, Sep 04 2021