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!)
A368782 Comma transform of A366487. 1
12, 35, 94, 15, 16, 28, 31, 34, 37, 41, 45, 55, 55, 55, 55, 61, 67, 74, 71, 89, 98, 97, 18, 19, 11, 11, 12, 13, 14, 15, 16, 17, 18, 19, 11, 11, 12, 13, 14, 15, 16, 17, 18, 22, 22, 24, 26, 28, 22, 22, 24, 26, 28, 22, 22, 24, 26, 28, 22, 22, 24, 26, 28, 22, 22 (list; graph; refs; listen; history; text; internal format)
OFFSET
1,1
COMMENTS
See A367360 for further information.
Let the comma sequence A121805 be known as S or C0.
A366487, the first differences of A121805, is the same as the comma transform of A121805; call it C1.
This sequence is C2 = C(C(S)), the comma transform C iterated twice.
C4 = C2, C5 = C2, ... once the first term (and the last term if the sequence is finite) are removed from the lower iterates of C.
Theorem: C^{i+2}(S) = C^i(S) for i>=2 in general and for i>=0 when all terms of S have two digits and no least significant digit is zero. See link for proof.
Remark. The lexicographically earliest sequence S with C(S) = S is A010850, all 11's.
The sequence contains 2137451 terms, with a(2137451) = 96. The next term does not exist.
LINKS
Michael S. Branicky, Comma Comma Proof
PROG
(Python)
from itertools import islice, pairwise
def S(): # generator of comma sequence
an = 1
while True:
yield an
an += 10*(an%10)
children = [an+y for y in range(1, 10) if str(an+y)[0] == str(y)]
if not children: break
an = children[0]
def C(g): # generator of comma transform of sequence passed as a generator
yield from (10*(t%10) + int(str(u)[0]) for t, u in pairwise(g))
def agen(): return C(C(S()))
print(list(islice(agen(), 70))) # Michael S. Branicky, Jan 05 2024
CROSSREFS
Sequence in context: A102085 A058968 A195858 * A367635 A367645 A121805
KEYWORD
nonn,base
AUTHOR
Michael S. Branicky, Jan 05 2024
STATUS
approved

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 April 29 00:08 EDT 2024. Contains 372097 sequences. (Running on oeis4.)