OFFSET
1,2
COMMENTS
To get the "New sequence" below, replace all terms by the sum of their digits:
This seq = 1,2,3,5,8,12,14,11,7,9,20,16,18,79,25,27,88,...
New seq = 1,2,3,5,8, 3, 5, 2,7,9, 2, 7, 9,16, 7, 9,16,...
We see that every term of the "New sequence" is either the sum of its two adjacent terms, or their absolute difference.
This sequence may not be a permutation of the positive integers as the number 10 does not appear among the first 1000000 terms (according to Rémy Sigrist).
LINKS
Jean-Marc Falcoz, Table of n, a(n) for n = 1..1502
Rémy Sigrist, Logarithmic scatterplot of the first 1000000 terms
Rémy Sigrist, PARI program for A308075
EXAMPLE
a(2) = 2 is |1-3|;
a(3) = 3 is |2-5|;
a(4) = 5 is |3-8|;
a(5) = 8 is (5+1+2);
a(6) = 12 because 12 gives (1+2) = 3 and this 3 is (8-1-4);
a(7) = 14 because 14 gives (1+4) = 5 and this 5 is (1+2+1+1);
a(8) = 11 because 11 gives (1+1) = 2 and this 2 is |1+4-7|;
etc.
PROG
(PARI) See Links section.
CROSSREFS
KEYWORD
base,nonn
AUTHOR
Eric Angelini and Jean-Marc Falcoz, May 11 2019
STATUS
approved