[go: up one dir, main page]

login
A104340
Numbers n such that (digital reversal of n) - n = 9.
1
12, 23, 34, 45, 56, 67, 78, 89
OFFSET
1,1
COMMENTS
The sequence is complete: there is no other such number (in base 10).
EXAMPLE
98-89=9
MATHEMATICA
Select[Range[1000], FromDigits[Reverse[IntegerDigits[#]]]-#==9&] (* Harvey P. Dale, Aug 26 2011 *)
Select[Range[1000], IntegerReverse[#]-#==9&] (* Requires Mathematica version 10 or later *) (* Harvey P. Dale, Oct 28 2017 *)
CROSSREFS
Cf. A104341.
Sequence in context: A088783 A029756 A346508 * A367362 A136414 A017401
KEYWORD
base,nonn,fini,full
AUTHOR
Zak Seidov, Mar 02 2005
STATUS
approved