login
The OEIS is supported by the many generous donors to the OEIS Foundation.

 

Logo
Hints
(Greetings from The On-Line Encyclopedia of Integer Sequences!)
A156875 Number of safe primes <= n. 8

%I #3 Mar 30 2012 18:51:04

%S 0,0,0,0,1,1,2,2,2,2,3,3,3,3,3,3,3,3,3,3,3,3,4,4,4,4,4,4,4,4,4,4,4,4,

%T 4,4,4,4,4,4,4,4,4,4,4,4,5,5,5,5,5,5,5,5,5,5,5,5,6,6,6,6,6,6,6,6,6,6,

%U 6,6,6,6,6,6,6,6,6,6,6,6,6,6,7,7,7,7,7,7,7,7,7,7,7,7,7,7,7,7,7,7,7,7,7,7,7

%N Number of safe primes <= n.

%C a(n) = SUM(A156659(k): 1<=k<=n);

%C a(n) = A156874(floor((n-1)\2)).

%H R. Zumkeller, <a href="/A156875/b156875.txt">Table of n, a(n) for n = 1..10000</a>

%H Wikipedia, <a href="http://en.wikipedia.org/wiki/Safe_prime">Safe prime</a>

%e a(120) = #{5, 7, 11, 23, 47, 59, 83, 107} = 8.

%Y A005385, A156874, A156876, A156877, A156878, A000720.

%K nonn

%O 1,7

%A _Reinhard Zumkeller_, Feb 18 2009

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

License Agreements, Terms of Use, Privacy Policy. .

Last modified April 23 16:40 EDT 2024. Contains 371916 sequences. (Running on oeis4.)