OFFSET
1,2
COMMENTS
The pair of digits adjacent to the comma between two terms forms an integer that is the third 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) = 43 are separated by 42 units, and 42 is 3*14 (or 1,4);
a(2) = 43 and a(3) = 136 are separated by 93 units, and 93 is 3*31 (or 3,1);
a(3) = 136 and a(4) = 325 are separated by 189 units, and 189 is 3*63 (or 6,3);
a(4) = 325 and a(5) = 487 are separated by 162 units, and 162 is 3*54 (or 5,4); etc.
MATHEMATICA
a[1]=1; a[n_]:=a[n]=(k=a[n-1]; While[3FromDigits@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