[seqfan] Sum and absolute difference share no digit
Éric Angelini
eric.angelini at skynet.be
Sat Sep 28 16:30:46 CEST 2019
Hello SeqFans,
I don't know if this sequence exists
but I'm looking for the lexicographically
first _derangement_ of N such that
the sum and the absolute difference
of two successive terms don't share
any digit.
S = 1,2,3,5,4,6,8,10,7,9,12,11,15,14,13,...
In computing S, one has to backtrack
quite often as an integer K ending
with 0 or 5 cannot be followed by an
integer > K.
Best,
É.
à+
É.
Catapulté de mon aPhone
More information about the SeqFan
mailing list