OFFSET
1,1
FORMULA
a(n) is the first integer of the form (5*k)^(5-1) such that both a(n) and a(n)-1 is refactorable and 5 is the smallest prime divisor of a(n).
MAPLE
with(numtheory); RFC5:=[]: p:=ithprime(3): P:=[seq(ithprime(i), i=1..2)]; for w to 1 do for k from 3 to 12^4 by 2 do if andmap(z -> k mod z <> 0, P) then m:=p*k; n:=m^(p-1); t:=tau(n); n1:=n-1; t1:=tau(n1); if (n mod t = 0) and (n1 mod t1 = 0) then RFC5:=[op(RFC5), n]; print(ifactor(n)); fi fi; od od;
CROSSREFS
KEYWORD
nonn
AUTHOR
Walter Kehowski, Jun 20 2006
STATUS
approved