OFFSET
1,3
COMMENTS
Sequence appears to be periodic with period 10, although I don't have a proof for this property.
EXAMPLE
For 14: 41 - 14 = 27 --> 72 - 27 = 45 --> 54 - 45 = 9 takes three steps to reach 9, therefore a(4) = 3.
CROSSREFS
KEYWORD
nonn,base
AUTHOR
Felix Fröhlich, Jun 03 2014
EXTENSIONS
Extended by Ray Chandler, Aug 27 2015
STATUS
approved