|
Search: id:A093890
|
|
|
| A093890 |
|
Number of primes arising as the sum of one or more divisors of n. |
|
+0 5
|
|
| 0, 2, 1, 4, 1, 5, 1, 6, 2, 7, 1, 9, 1, 5, 4, 11, 1, 12, 1, 13, 5, 5, 1, 17, 2, 5, 4, 16, 1, 20, 1, 18, 4, 6, 6, 24, 1, 5, 5, 24, 1, 24, 1, 18, 11, 5, 1, 30, 1, 15, 3, 18, 1, 30, 6, 30, 5, 7, 1, 39, 1, 3, 18, 31, 6, 34, 1, 16, 3, 34, 1, 44, 1, 4, 13, 16, 4, 39, 1, 42, 5, 5, 1, 48, 5, 5, 2, 41, 1, 51, 2
(list; graph; listen)
|
|
|
OFFSET
|
1,2
|
|
|
COMMENT
|
a(2^n) = pi(2^(n+1)-1).
|
|
EXAMPLE
|
a(4) = 4, the divisors of 4 are 1, 2 and 4.
Primes arising are 2, 3= 1+2, 5 = 1+4 and 7 = 1 + 2 + 4.
|
|
MATHEMATICA
|
Do[l = Subsets[Divisors[n]]; l = Union[Map[Plus @@ #&, l]]; Print[Length[Select[l, PrimeQ]]], {n, 100}] - Ryan Propper (rpropper(AT)stanford.edu), Jun 04 2006
|
|
CROSSREFS
|
Cf. A093891, A093892.
Sequence in context: A007104 A102627 A088296 this_sequence A006306 A083711 A018783
Adjacent sequences: A093887 A093888 A093889 this_sequence A093891 A093892 A093893
|
|
KEYWORD
|
nonn
|
|
AUTHOR
|
Amarnath Murthy (amarnath_murthy(AT)yahoo.com), Apr 23 2004
|
|
EXTENSIONS
|
Corrected and extended by Ryan Propper (rpropper(AT)stanford.edu), Jun 04 2006
|
|
|
Search completed in 0.002 seconds
|