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!)
A358401 Difference in number of 0's in first n terms of Van Eck's sequence and number of primes less than or equal to n. 0
1, 1, 0, 1, 0, 1, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, -1, 0, -1, -1, 0, 0, -1, -1, 0, 0, 0, 0, -1, -1, -1, -1, -1, -1, -1, 0, -1, -1, -1, -1, -2, -1, -2, -2, -1, -1, -2, -1, -1, -1, -1, -1, -1, -1, -1, -1, 0, 0, -1, 0, -1, -1, -1, 0, 0, 0, 0, 0, 0, 0, -1, -1, -1, -1 (list; graph; refs; listen; history; text; internal format)
OFFSET
1,41
LINKS
FORMULA
a(n) = A171896(n) - A000720(n).
EXAMPLE
a(41) = -2 because there are 11 0's in the first 41 terms of Van Eck's sequence and 13 prime numbers less than or equal to 41, and 11 - 13 = -2.
CROSSREFS
Sequence in context: A304274 A081592 A255934 * A085028 A087888 A296299
KEYWORD
sign
AUTHOR
G. L. Honaker, Jr., Nov 13 2022
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 27 07:48 EDT 2024. Contains 374642 sequences. (Running on oeis4.)