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!)
A363477 Numbers that are integer averages of first k odd primes for some k. 2
3, 4, 5, 133, 169, 1117, 2406, 3564, 6141, 7429, 8220, 8475, 14193, 33543, 121049, 211785, 877650, 5948070, 8494543, 27820975, 41428418, 130490020, 139053727, 200325407, 291720414, 893706168, 977748014, 2103851425, 2173904606, 5996888467, 15790305181 (list; graph; refs; listen; history; text; internal format)
OFFSET
1,1
LINKS
FORMULA
a(n) = Sum_{i=1..A097961(n)} prime(i)/n.
EXAMPLE
5 is a term because 5 is the average of the first 3 odd primes, 3, 5 and 7.
133 is a term because 133 is the average of the first 60 odd primes, 3, 5, 7, 11, ..., 281 and 283.
PROG
(Python)
from sympy import sieve
L = sieve.primerange(3, 4*10**10); s, k = 0, 0
for p in L:
s += p; k += 1
if s%k == 0: print(s//k, end = ", ")
CROSSREFS
Sequence in context: A085841 A163483 A327876 * A004784 A338056 A321404
KEYWORD
nonn
AUTHOR
Ya-Ping Lu, Jun 07 2023
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 May 3 07:04 EDT 2024. Contains 372206 sequences. (Running on oeis4.)