OFFSET
1,1
EXAMPLE
a(6) = 71 as f(6) = 10, f(10) = 14, f(14) = 18, f(18) = 24, f(24) = 32, f(32) = 38, f(38) = 42, f(42) = 50, f(50) = 56, f(56) = 64, f(64) = 64 +7 = 71.
PROG
(PARI) { a(n) = local(k, m); k=1; m=n; while(1, m=m+numdiv(m); if(isprime(m), return(m)); k++ ) } (Alekseyev)
CROSSREFS
KEYWORD
nonn
AUTHOR
Amarnath Murthy, Feb 12 2003
EXTENSIONS
More terms from Max Alekseyev, Apr 19 2005
STATUS
approved