[seqfan] A palindrome + 1

Eric Angelini Eric.Angelini at kntv.be
Tue Jul 21 00:16:34 CEST 2015


Hello SeqFans,
(I like this one!)
P=1,2,3,4,5,6,7,8,9,10,102,202,203,
303,304,404,405,505,506,606,607,
707,708,808,809,909,910,20,103,
302,204,403,305,504,406,605,507,
706,608,807,709,908,810,19,92,30,...

> Lexicographically first sequence
such that the concatenation of two
adjacent terms is a palindrome + 1.

> P was always extended with the
smallest available term not yet in P
and not leading to a contradiction.

Example:
12 is 11 (palindrome) + 1
23 is 22 + 1
34 is 33 + 1
...
9230 (last pair of the sequence above)
is 9229 + 1

Best,
É.



More information about the SeqFan mailing list