OFFSET
1,2
COMMENTS
The pair of digits adjacent to the comma between two terms forms an integer that is the fourth of the difference between the said terms. This is the lexicographically earliest sequence with this property. It will stop at some point, but when?
LINKS
Eric Angelini, Commas variants, personal blog, Sept 2023.
EXAMPLE
a(1) = 1 and a(2) = 65 are separated by 64 units, and 64 is 4*16 (or 1,6);
a(2) = 65 and a(3) = 273 are separated by 208 units, and 208 is 4*52 (or 5,2);
a(3) = 273 and a(4) = 409 are separated by 136 units, and 136 is 4*34 (or 3,4);
a(4) = 409 and a(5) = 797 are separated by 388 units, and 388 is 4*97 (or 9,7); etc.
MATHEMATICA
a[1]=1; a[n_]:=a[n]=(k=a[n-1]; While[4FromDigits@Join[{Mod[a[n-1], 10]}, {First@IntegerDigits@k}]!=k-a[n-1], k++]; k); Array[a, 70]
CROSSREFS
KEYWORD
base,nonn,fini
AUTHOR
Eric Angelini and Giorgos Kalogeropoulos, Sep 21 2023
STATUS
approved