OFFSET
1,1
LINKS
Harvey P. Dale, Table of n, a(n) for n = 1..1000
EXAMPLE
1156 and 6511 are both multiples of 17.
MATHEMATICA
Select[ Range[ 30000 ], Mod[ #, 17 ] == 0 && Mod[ FromDigits[ Reverse[ IntegerDigits[ # ] ] ], 17 ] == 0 & ]
Select[Range[13000], And@@Divisible[{#, IntegerReverse[#]}, 17]&] (* Requires Mathematica version 10 or later *) (* Harvey P. Dale, Jan 09 2021 *)
PROG
(ARIBAS): n := 17; stop := 12500; m := 0; while m < stop do rev := int_reverse(m); if rev mod n = 0 then write(m, " "); end; inc(m, n); end;
CROSSREFS
KEYWORD
nonn,base,easy
AUTHOR
Amarnath Murthy, Jul 01 2001
EXTENSIONS
Corrected and extended by Dean Hickerson and Reiner Martin, Jul 06, 2001
STATUS
approved