OFFSET
1,1
COMMENTS
14267656658790241528591830756844692582808594415616 is a 50-digit term of this sequence. 493009335 is the smallest number k such that previous_prime(k)=k-s and next_prime(k)=k+s where s is sum of the prime factors of k. What is the next number with the same property?
EXAMPLE
113400=2^3*3^4*5^2*7 is a term because previous_prime(113400)=113400-(2+3+5+7) and next_prime(113400)=113400+(2+3+5+7).
MATHEMATICA
Do[If[c=Apply[Plus, PrimeFactorList[n]]; n-c==PreviousPrime[n]&&n+c== NextPrime[n], Print[n]], {n, 4, 20000000}]
CROSSREFS
KEYWORD
easy,nonn,base
AUTHOR
Farideh Firoozbakht, Feb 04 2007, corrected Feb 08 2007
STATUS
approved
