OFFSET
1,1
LINKS
Antti Karttunen, Table of n, a(n) for n = 1..6589
PROG
(PARI)
A007947(n) = factorback(factorint(n)[, 1]);
nextone(n) = { if(!n, return(0)); my(r=A007947(n), s=sigma(n), k=n+r); while(k<s, if((sigma(k) == s)&&(A007947(k) == r), return(k), k = k+r)); return(0); };
i=0; for(n=1, 2^25, k = nextone(n); if(k, i++; write("b255423.txt", i, " ", k))); \\ Andrew Lelechenko, May 09 2014
CROSSREFS
KEYWORD
nonn
AUTHOR
Antti Karttunen, Apr 06 2015
STATUS
approved