OFFSET
1,2
COMMENTS
Number whose 10's complement (A089186) is a multiple of it. 125 is a member as its 10's complement is 1000-125 = 875 = 125*7. - Amarnath Murthy, Mar 08 2002
REFERENCES
P. J. Davis and R. Hersh, The Mathematical Experience, Birkhäuser, Boston and Basel, 1981; see pp. 293-298.
LINKS
Problem of the week, Web site - problem 881
Index entries for linear recurrences with constant coefficients, signature (0,0,0,0,10).
FORMULA
Consists of the numbers 1, 2, 5, 25 or 125 times a power of 10.
a(n) = 10*a(n-5). - Wesley Ivan Hurt, May 03 2023
EXAMPLE
If a number ends in 2 then it is even and so is divisible by 2, so 2 is in the sequence.
MATHEMATICA
LinearRecurrence[{0, 0, 0, 0, 10}, {1, 2, 5, 10, 20, 25, 50, 100, 125}, 40] (* Harvey P. Dale, Sep 08 2018 *)
CROSSREFS
KEYWORD
nonn,base,easy
AUTHOR
EXTENSIONS
Entry revised by N. J. A. Sloane, Aug 03 2004
STATUS
approved