OFFSET
1,2
COMMENTS
The pair of digits adjacent to the comma between two terms forms an integer that is half 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) = 25 are separated by 24 units, and 24 is twice 12 (or 1,2);
a(2) = 25 and a(3) = 127 are separated by 102 units, and 102 is twice 51 (or 5,1);
a(3) = 127 and a(4) = 271 are separated by 144 units, and 144 is twice 72 (or 7,2);
a(4) = 271 and a(5) = 295 are separated by 24 units, and 24 is twice 12 (or 1,2); etc.
MATHEMATICA
a[1]=1; a[n_]:=a[n]=(k=a[n-1]; While[2FromDigits@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