cp's OEIS Frontend

This is a front-end for the Online Encyclopedia of Integer Sequences, made by Christian Perfect. The idea is to provide OEIS entries in non-ancient HTML, and then to think about how they're presented visually. The source code is on GitHub.

A104340 Numbers n such that (digital reversal of n) - n = 9.

Original entry on oeis.org

12, 23, 34, 45, 56, 67, 78, 89
Offset: 1

Views

Author

Zak Seidov, Mar 02 2005

Keywords

Comments

The sequence is complete: there is no other such number (in base 10).

Examples

			98-89=9
		

Crossrefs

Cf. A104341.

Programs

  • 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 *)