|
|
A062903
|
|
Numbers n such that n and its reversal are both multiples of 13.
|
|
3
|
|
|
0, 494, 585, 676, 767, 858, 949, 1001, 1495, 1586, 1677, 1768, 1859, 2002, 2496, 2587, 2678, 2769, 3003, 3497, 3588, 3679, 4004, 4498, 4589, 4940, 5005, 5499, 5850, 5941, 6006, 6760, 6851, 6942, 7007, 7670, 7761, 7852, 7943, 8008, 8580, 8671
(list;
graph;
refs;
listen;
history;
text;
internal format)
|
|
|
OFFSET
|
1,2
|
|
LINKS
|
|
|
EXAMPLE
|
1495 and 5941 are both multiples of 13.
|
|
MATHEMATICA
|
Select[13*Range[0, 700], Divisible[FromDigits[Reverse[IntegerDigits[ #]]], 13]&] (* Harvey P. Dale, Nov 30 2014 *)
|
|
PROG
|
(PARI) isok(n) = !(n % 13) && !(fromdigits(Vecrev(digits(n))) % 13); \\ Michel Marcus, Aug 14 2018
|
|
CROSSREFS
|
|
|
KEYWORD
|
nonn,base,easy
|
|
AUTHOR
|
|
|
EXTENSIONS
|
|
|
STATUS
|
approved
|
|
|
|