OFFSET
1,1
LINKS
Paolo P. Lava, Table of n, a(n) for n = 1..150
EXAMPLE
169' = 69' = 26, so 169 is a term.
3959' = 959' = 144, so 3959 is a term.
MAPLE
with(numtheory): P:=proc(q) local a, k, n, p, x, y; for n from 2 to q do
if not isprime(n) then x:=n mod 10^(ilog10(n)); a:=x*add(op(2, p)/op(1, p), p=ifactors(x)[2]);
if n*add(op(2, p)/op(1, p), p=ifactors(n)[2])=a then print(n); fi; fi; od; end: P(10^6);
CROSSREFS
KEYWORD
nonn,base,easy
AUTHOR
Paolo P. Lava, Oct 10 2017
STATUS
approved