This site is supported by donations to The OEIS Foundation.

 Hints (Greetings from The On-Line Encyclopedia of Integer Sequences!)
 A064011 Sum of distinct primes dividing n! + 1. 1

%I

%S 2,3,7,5,11,110,71,722,359,329902,39916801,2834342,75024430,

%T 3790360510,46271879,1059865,1538931,123611150,1713311273363902,

%U 117897322430,2703876255255,93799610095770191,148139754736864717

%N Sum of distinct primes dividing n! + 1.

%H Harry J. Smith, <a href="/A064011/b064011.txt">Table of n, a(n) for n = 1..60</a>

%o (PARI) sopf(n,s,fac,i)=fac=factor(n); for(i=1,matsize(fac)[1], s=s+fac[i,1]); return(s);

%o for(n=1,23,print(sopf(n!+1)))

%o (PARI) sopf(n)= { local(f,s=0); f=factor(n); for(i=1, matsize(f)[1], s+=f[i, 1]); return(s) }

%o { for (n=1, 60, write("b064011.txt", n, " ", sopf(n! + 1)) ) } \\ _Harry J. Smith_, Sep 06 2009

%K easy,nonn

%O 1,1

%A _Jason Earls_, Sep 07 2001

Lookup | Welcome | Wiki | Register | Music | Plot 2 | Demos | Index | Browse | More | WebCam
Contribute new seq. or comment | Format | Style Sheet | Transforms | Superseeker | Recent
The OEIS Community | Maintained by The OEIS Foundation Inc.

Last modified August 17 22:59 EDT 2019. Contains 326059 sequences. (Running on oeis4.)