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!)
A345280 a(n) = Sum_{p|n} nextprime(p), where nextprime(n) is the smallest prime > n. 4
0, 3, 5, 3, 7, 8, 11, 3, 5, 10, 13, 8, 17, 14, 12, 3, 19, 8, 23, 10, 16, 16, 29, 8, 7, 20, 5, 14, 31, 15, 37, 3, 18, 22, 18, 8, 41, 26, 22, 10, 43, 19, 47, 16, 12, 32, 53, 8, 11, 10, 24, 20, 59, 8, 20, 14, 28, 34, 61, 15, 67, 40, 16, 3, 24, 21, 71, 22, 34, 21, 73, 8, 79, 44 (list; graph; refs; listen; history; text; internal format)
OFFSET
1,2
LINKS
EXAMPLE
a(15) = Sum_{p|15} nextprime(p) = nextprime(3) + nextprime(5) = 5 + 7 = 12.
MATHEMATICA
Table[Sum[NextPrime[k] (PrimePi[k] - PrimePi[k - 1]) (1 - Ceiling[n/k] + Floor[n/k]), {k, n}], {n, 100}]
CROSSREFS
Cf. A151800 (nextprime v.2), A345281.
Sequence in context: A137769 A029602 A210041 * A240499 A248511 A210191
KEYWORD
nonn
AUTHOR
Wesley Ivan Hurt, Jun 12 2021
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 28 23:06 EDT 2024. Contains 374727 sequences. (Running on oeis4.)