The OEIS mourns the passing of Jim Simons and is grateful to the Simons Foundation for its support of research in many branches of science, including the OEIS.
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!)
A249304 Number of zeros in row n of triangle A249133. 6
0, 0, 1, 1, 3, 5, 5, 3, 7, 13, 13, 11, 13, 15, 13, 7, 15, 29, 29, 27, 29, 31, 29, 23, 29, 39, 37, 31, 33, 35, 29, 15, 31, 61, 61, 59, 61, 63, 61, 55, 61, 71, 69, 63, 65, 67, 61, 47, 61, 87, 85, 79, 81, 83, 77, 63, 73, 91, 85, 71, 73, 75, 61, 31, 63, 125, 125 (list; graph; refs; listen; history; text; internal format)
OFFSET
0,5
COMMENTS
a(n) = (number of even terms in row n of triangle A249095) = A023416(A249184(n)) = A055641(A249183(n)).
LINKS
FORMULA
a(n) = A048967(n) + A048967(n-1) for n > 0.
MATHEMATICA
Join[{0}, Plus @@@ Partition[Table[n + 1 - 2^DigitCount[n, 2, 1], {n, 0, 100}], 2, 1]] (* Amiram Eldar, Jul 28 2023 *)
PROG
(Haskell)
a249304 n = if n == 0 then 0 else a048967 n + a048967 (n - 1)
CROSSREFS
Sequence in context: A282177 A184593 A328154 * A333906 A306224 A189202
KEYWORD
nonn
AUTHOR
Reinhard Zumkeller, Nov 14 2014
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 June 4 22:04 EDT 2024. Contains 373102 sequences. (Running on oeis4.)