OFFSET
2,1
COMMENTS
Merging means that the sequences are identical for all future steps. EKG-2 and EKG-5 merge at step 44. From then on the sequences are identical.
LINKS
Rémy Sigrist, Table of n, a(n) for n = 2..2000
Gordon Hamilton, The EKG Sequence and the Tree of Numbers, Oct 2013.
Rémy Sigrist, PARI program for A255583
EXAMPLE
a(5) = 14 because the EKG sequence starting with 5 (EKG-5, A169841) merges with sequences EKG-3, EKG-6, EKG-9 and EKG-12 simultaneously when all sequences hit 18.
EKG-3: 3, 6, 2, 4, 8, 10, 5, 15, 9, 12, 14, 7, 21, 18, 16, 20, 22, 11, ... (A169837)
EKG-6: 6, 2, 4, 8, 10, 5, 15, 3, 9, 12, 14, 7, 21, 18, 16, 20, 22, 11, ... (A169843)
EKG-9: 9, 3, 6, 2, 4, 8, 10, 5, 15, 12, 14, 7, 21, 18, 16, 20, 22, 11, ... (A169849)
EKG-12: 12, 2, 4, 6, 3, 9, 15, 5, 10, 8, 14, 7, 21, 18, 16, 20, 22, 11, ... (A169855)
EKG-5: 5, 10, 2, 4, 6, 3, 9, 12, 8, 14, 7, 21, 15, 18, 16, 20, 22, 11, ... (A169841)
PROG
(PARI) \\ See Links section.
CROSSREFS
KEYWORD
nonn
AUTHOR
Gordon Hamilton, Feb 26 2015
EXTENSIONS
More terms from Rémy Sigrist, Oct 06 2018
STATUS
approved