login

A160946 revision #16


A160946
Numbers n that are multiples of the reversal of n+1.
4
9, 99, 741, 979, 999, 9499, 9999, 99999, 319999, 749509, 771999, 999999, 1240099, 3522999, 3794109, 7099999, 7425741, 9801979, 9998899, 9999999, 10870209, 19789119, 30099999, 73378209, 75199999, 99999999, 326599999, 726199999, 728739999, 783742161, 969999999
OFFSET
1,1
COMMENTS
741 = 3 * R(742) = 3 * 247.
For n>0, 10^n-1 is a term (that is, A002283 except 0). - Michel Marcus, Nov 25 2014
MAPLE
with(numtheory): T:=proc(w) local x, y, z; x:=0; y:=w;
for z from 1 to ilog10(w)+1 do x:=10*x+(y mod 10); y:=trunc(y/10); od; x; end;
P:=proc(q) local n; for n from 1 to q do if type(n/T(n+1), integer)
then print(n); fi; od; end: P(10^9); # Paolo P. Lava, Nov 24 2014
PROG
(PARI) isok(n) = ! (n % subst(Polrev(digits(n+1)), x, 10)); \\ Michel Marcus, Nov 24 2014
CROSSREFS
Sequence in context: A116274 A116286 A306449 * A359078 A100681 A043044
KEYWORD
nonn,base
AUTHOR
Claudio Meller, May 30 2009
EXTENSIONS
More terms from Claudio Meller, Jun 19 2009
a(24) - a(31) from Paolo P. Lava, Nov 24 2014
STATUS
editing