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!)
A308567 Consider the second least-significant bits of the first n prime numbers: a(n) equals the number of zeros minus the number of ones. 0
-1, -2, -1, -2, -3, -2, -1, -2, -3, -2, -3, -2, -1, -2, -3, -2, -3, -2, -3, -4, -3, -4, -5, -4, -3, -2, -3, -4, -3, -2, -3, -4, -3, -4, -3, -4, -3, -4, -5, -4, -5, -4, -5, -4, -3, -4, -5, -6, -7, -6, -5, -6, -5, -6, -5, -6, -5, -6, -5, -4, -5, -4, -5, -6, -5 (list; graph; refs; listen; history; text; internal format)
OFFSET
1,2
LINKS
FORMULA
a(n) = Sum_{k = 1..n} (-1)^A100672(n).
a(n) = 0 iff n belongs to A051024.
a(n) = -1-A038698(n).
CROSSREFS
Sequence in context: A089280 A246960 A285200 * A192099 A193101 A100661
KEYWORD
sign,base
AUTHOR
Rémy Sigrist, Jun 08 2019
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 16 08:21 EDT 2024. Contains 371698 sequences. (Running on oeis4.)