OFFSET
1,2
COMMENTS
EXAMPLE
Divisors of 12: 1, 2, 3, 4, 6, 12; reverse concatenation of divisors 1264321 is nonprime number.
MAPLE
filter:= proc(n) local r, L, i;
L:= sort(convert(numtheory:-divisors(n), list));
r:= L[1];
for i from 2 to nops(L) do
r:= r + 10^(1+ilog10(r))*L[i]
od;
not isprime(r)
end proc:
select(filter, [$1..100]); # Robert Israel, Apr 21 2020
PROG
(PARI) rcd(n)=my(d=divisors(n)); n=1; for(i=2, #d, n=glue(d[i], n)); n
glue(a, b)=a*10^#Str(b)+b
for(m=1, 81, if(!isprime(rcd(m)), print1(m", ")))
CROSSREFS
KEYWORD
nonn,base
AUTHOR
Jaroslav Krizek, Apr 20 2010
EXTENSIONS
Program, editing, and extension by Charles R Greathouse IV, Apr 23 2010
Corrected by Jaroslav Krizek, Apr 26 2010
STATUS
approved