OFFSET
1,1
EXAMPLE
24 (which is composite) is the sixth term of sequence A114520. 24 = 2^3 * 3 and 2^3 + 3 = 11 (which is prime). So a(6) = 11.
MATHEMATICA
f[n_] := Plus @@ Power @@@ FactorInteger[n]; f /@ Select[Select[Range[500], PrimeQ[f[ # ]] &], ! PrimeQ[ # ] &] (* Ray Chandler, Dec 07 2005 *)
PROG
CROSSREFS
KEYWORD
nonn
AUTHOR
Leroy Quet, Dec 05 2005
EXTENSIONS
Extended by Ray Chandler and Lambert Herrgesell (zero815(AT)googlemail.com), Dec 07 2005
STATUS
approved