A169824 Numbers n such that n is divisible by n-with-its-digits-reversed.
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
Examples
40 is divisible by 4.
Links
- Chai Wah Wu, Table of n, a(n) for n = 1..10000
- Erich Friedman, What's Special About This Number? (See the entry for "540")
- L. H. Kendrick, Young Graphs: 1089 et al., J. Int. Seq. 18 (2015) 15.9.7.
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
Comments