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!)
A338363 a(n) = n + pi(n) - pi(floor(n/2)), where pi = A000720. 2
1, 3, 5, 5, 7, 7, 9, 10, 11, 11, 13, 14, 16, 16, 17, 18, 20, 21, 23, 24, 25, 25, 27, 28, 29, 29, 30, 31, 33, 34, 36, 37, 38, 38, 39, 40, 42, 42, 43, 44, 46, 47, 49, 50, 51, 51, 53, 54, 55, 56, 57, 58, 60, 61, 62, 63, 64, 64, 66, 67, 69, 69, 70, 71, 72, 73, 75, 76, 77, 78, 80, 81 (list; graph; refs; listen; history; text; internal format)
OFFSET
1,2
LINKS
FORMULA
a(n) = n + A056171(n). - Alois P. Heinz, Nov 04 2020
MATHEMATICA
A338363[n_] := PrimePi[n] - PrimePi[n/2] + n;
Array[A338363, 100] (* Paolo Xausa, Jan 30 2024 *)
PROG
(PARI) a(n) = n + primepi(n) - primepi(n\2); \\ Michel Marcus, Nov 04 2020
CROSSREFS
Sequence in context: A279944 A309424 A079886 * A346563 A087243 A112276
KEYWORD
nonn
AUTHOR
N. J. A. Sloane, Nov 04 2020
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 April 23 23:26 EDT 2024. Contains 371917 sequences. (Running on oeis4.)