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!)
A316520 Heinz numbers of integer partitions whose average is a prime number. 0
3, 5, 9, 10, 11, 17, 21, 22, 25, 27, 28, 30, 31, 41, 46, 57, 59, 67, 68, 78, 81, 82, 83, 84, 85, 88, 90, 91, 98, 99, 100, 105, 109, 110, 111, 121, 125, 127, 146, 155, 157, 164, 179, 184, 191, 194, 203, 208, 211, 213, 222, 228, 241, 243, 247, 252, 253, 264, 267 (list; graph; refs; listen; history; text; internal format)
OFFSET
1,1
COMMENTS
The Heinz number of an integer partition (y_1,...,y_k) is prime(y_1)*...*prime(y_k).
LINKS
EXAMPLE
60 = 2*2*3*5 has prime indices {1,1,2,3} with average 7/4, so 60 does not belong to the sequence.
90 = 2*3*3*5 has prime indices {1,2,2,3} with average 8/2 = 4, so 90 belongs to the sequence.
MATHEMATICA
Select[Range[100], PrimeQ[Mean[If[#==1, {}, Flatten[Cases[FactorInteger[#], {p_, k_}:>Table[PrimePi[p], {k}]]]]]]&]
CROSSREFS
Sequence in context: A081500 A338655 A030365 * A153710 A230385 A269399
KEYWORD
nonn
AUTHOR
Gus Wiseman, Jul 05 2018
STATUS
approved

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 July 13 15:41 EDT 2024. Contains 374284 sequences. (Running on oeis4.)