OFFSET
0,3
LINKS
Rémy Sigrist, Table of n, a(n) for n = 0..10000
FORMULA
a(A002275(n)) = n. - Rémy Sigrist, Feb 09 2022
EXAMPLE
PROG
(PARI) a(n) = { my (d=[]); while (n, my (t=n%10, k=0); while (n%10==t, n\=10; k++; ); for (i=1, t, d=concat(digits(k), d))); fromdigits(d) } \\ Rémy Sigrist, Feb 09 2022
CROSSREFS
KEYWORD
base,nonn,easy
AUTHOR
Amarnath Murthy, Nov 07 2005
EXTENSIONS
Extended and corrected by Nathaniel Johnston, Apr 29 2011
a(0) = 0 prepended by Rémy Sigrist, Feb 09 2022
STATUS
approved