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.

A169824 Numbers n such that n is divisible by n-with-its-digits-reversed.

Original entry on oeis.org

1, 2, 3, 4, 5, 6, 7, 8, 9, 10, 11, 20, 22, 30, 33, 40, 44, 50, 55, 60, 66, 70, 77, 80, 88, 90, 99, 100, 101, 110, 111, 121, 131, 141, 151, 161, 171, 181, 191, 200, 202, 212, 220, 222, 232, 242, 252, 262, 272, 282, 292, 300, 303, 313, 323, 330, 333, 343, 353, 363, 373, 383, 393
Offset: 1

Views

Author

N. J. A. Sloane, May 29 2010

Keywords

Comments

If n is a term, then so is n*10^k. Positive terms in A002113 is a subsequence. - Chai Wah Wu, Sep 28 2017
a(n) = A061917(n+1) for 1 <= n < 78, but a(78) = 510 differs from A061917(79) = 515. - Georg Fischer, Oct 28 2018

Examples

			40 is divisible by 4.
		

Crossrefs

Cf. A031877.
Cf. A002113. - Robert G. Wilson v, Jun 10 2010

Programs

  • Mathematica
    fQ[n_] := Mod[n, FromDigits@ Reverse@ IntegerDigits@ n] == 0; Select[ Range@ 399, fQ@# &] (* Robert G. Wilson v, Jun 10 2010 *)
  • Python
    A169824_list = [n for n in range(1,1000) if not n % int(str(n)[::-1])] # Chai Wah Wu, Sep 28 2017