

A124177


Consider the map f that sends n to n + (sum of even digits of n)  (sum of odd digits of n). Sequence gives numbers n such that f^(k)(n) = n for some k.


16



0, 22, 26, 27, 34, 35, 44, 49, 52, 63, 66, 78, 79, 81, 88, 99, 104, 107, 108, 112, 115, 121, 126, 133, 134, 143, 144, 151, 156, 165, 178, 187, 211, 224, 229, 232, 233, 283, 290, 314, 336, 341, 358, 363, 385, 413, 431, 467, 470, 489, 492, 516, 538, 561, 583, 615
(list;
graph;
refs;
listen;
history;
text;
internal format)



OFFSET

1,2


COMMENTS

Terms computed by Theunis de Jong.
Subsequence A036301 lists fixed points of the map f = A304440.  M. F. Hasler, May 18 2018


LINKS

Eric Angelini, Table of n, a(n) for n = 1..182
Eric Angelini, Selfloopers.


EXAMPLE

26 and 27 loop on themselves  but 28 doesn't.
26 > 34 > 35 > 27 > 22 > 26
27 > 22 > 26 > 34 > 35 > 27
28 > 38 > 43 > 44 > 52 > 49 > 44.


PROG

(PARI) is(n, S=List())={until(setsearch(Set(S), n=A304440(n)), listput(S, n)); n==S[1]} \\ M. F. Hasler, May 18 2018


CROSSREFS

Cf. A124176, A036301, A304439, A304440, A071650, A071648, A071649.
Sequence in context: A227408 A303304 A234540 * A260990 A260991 A160078
Adjacent sequences: A124174 A124175 A124176 * A124178 A124179 A124180


KEYWORD

base,easy,nonn


AUTHOR

Eric Angelini, Dec 04 2006


STATUS

approved



