OFFSET
0,3
COMMENTS
Through the so-called "pyramidalization" process (see A227876), a given nonnegative integer is expanded into its digits and transformed into a pyramid of successive absolute differences between digits. The present sequence is built only with the top number 'a(n)' generated from its correspondent nonnegative integer 'n'.
LINKS
Filipi R. de Oliveira, Table of n, a(n) for n = 0..9999
FORMULA
a(n)=n, if 0<=n<=9.
a(n)=|mod(n;10)-floor(n/10)|, if 10<=n<=99.
EXAMPLE
If n=1735, a(n)=0:
______0 ------>a(n)
____2_:_2
__6_:_4_:_2
1_:_7_:_3_:_5
CROSSREFS
KEYWORD
AUTHOR
Filipi R. de Oliveira, Apr 24 2014
STATUS
approved