OFFSET
1,1
EXAMPLE
MATHEMATICA
t[n_]:=n*(n+1)/2; f[n_]:=Plus@@Divisors[t[n]]; lst={}; Do[p=f[n]; If[PrimeQ[p-1]&&PrimeQ[p+1], AppendTo[lst, p]], {n, 7!}]; lst
CROSSREFS
KEYWORD
nonn
AUTHOR
Vladimir Joseph Stephan Orlovsky, Oct 08 2009
EXTENSIONS
Definition and example rewritten by R. J. Mathar, Oct 14 2009
STATUS
approved