OFFSET
1,1
LINKS
Paolo P. Lava, Table of n, a(n) for n = 1..10000
EXAMPLE
Aliquot parts of 9 are 1, 3 and concat(1,3) = 13 is prime;
aliquot parts of 3127 are 1, 53, 59 and concat(1,53,59) = 15359 is prime.
MAPLE
with(numtheory): P:= proc(q) local a, b, k, n;
for n from 1 to q do a:=sort([op(divisors(n))]); b:=0;
for k from 1 to nops(a)-1 do b:=b*10^(ilog10(a[k])+1)+a[k]; od;
if isprime(b) then print(n); fi; od; end: P(10^9);
MATHEMATICA
Select[Range@ 384, PrimeQ@ FromDigits@ Flatten@ IntegerDigits@ Most@ Divisors@ # &] (* Michael De Vlieger, Apr 21 2016 *)
CROSSREFS
KEYWORD
nonn,base,easy
AUTHOR
Paolo P. Lava, Apr 21 2016
STATUS
approved