login
The OEIS is supported by the many generous donors to the OEIS Foundation.

 

Logo
Hints
(Greetings from The On-Line Encyclopedia of Integer Sequences!)
A366492 Analog of A121805, but starting with 4. 13

%I #18 Nov 18 2023 13:13:12

%S 4,48,129,221,233,265,318,402,426,490,494,539,635,691,708,795,853,891,

%T 910,919,1010,1011,1022,1043,1074,1115,1166,1227,1298,1379,1470,1471,

%U 1482,1503,1534,1575,1626,1687,1758,1839,1930,1931,1942,1963,1994,2036,2098,2180,2182

%N Analog of A121805, but starting with 4.

%C If instead we start with 3, the sequence is the two-term sequence [3, 36].

%C The present sequence is finite, with last term a(199900) = 9999945.

%H N. J. A. Sloane, <a href="/A366492/b366492.txt">Table of n, a(n) for n = 1..20000</a>

%o (Python)

%o from itertools import islice

%o def agen(start=4): # generator of terms

%o an, y = start, 1

%o while y < 10:

%o yield an

%o an, y = an + 10*(an%10), 1

%o while y < 10:

%o if str(an+y)[0] == str(y):

%o an += y

%o break

%o y += 1

%o print(list(islice(agen(), 50))) # _Michael S. Branicky_, Nov 18 2023

%Y Comma sequences in base 10, starting with 1, 2, 4, 5, 6, 7, 8, 9, 10 are A121805, A139284, A366492, A367337, A367350, A367351, A367352, A367353, A367354. Starting with 3 is trivial, and those starting with 11, 12, 13 are essentially duplicates.

%Y Cf. A330128, A330129.

%K nonn,base,fini

%O 1,1

%A _N. J. A. Sloane_, Nov 14 2023

Lookup | Welcome | Wiki | Register | Music | Plot 2 | Demos | Index | Browse | More | WebCam
Contribute new seq. or comment | Format | Style Sheet | Transforms | Superseeker | Recents
The OEIS Community | Maintained by The OEIS Foundation Inc.

License Agreements, Terms of Use, Privacy Policy. .

Last modified September 12 03:03 EDT 2024. Contains 375842 sequences. (Running on oeis4.)