cp's OEIS Frontend

This is a front-end for the Online Encyclopedia of Integer Sequences, made by Christian Perfect. The idea is to provide OEIS entries in non-ancient HTML, and then to think about how they're presented visually. The source code is on GitHub.

Showing 1-1 of 1 results.

A377170 Sum of the nonnegative terms in the n-th row of A365968.

Original entry on oeis.org

0, 1, 4, 12, 36, 98, 250, 616, 1484, 3508, 8140, 18620, 42164, 94632, 210518, 464840, 1020556, 2229014, 4843316, 10476164, 22576728, 48489154, 103790370, 221484824, 471427432, 1001027226, 2120503144, 4482083616, 9455815160, 19913405076, 41862056992, 87857540836
Offset: 0

Views

Author

John Tyler Rascoe, Oct 18 2024

Keywords

Comments

By symmetry -a(n) is the sum of the nonpositive terms in the n-th row of A365968.

Examples

			The 4th row of A365968 is: [-10, -8, -6, -4, -4, -2, 0, 2, -2, 0, 2, 4, 4, 6, 8, 10], so a(4) = 2 + 2 + 4 + 4 + 6 + 8 + 10 = 36.
		

Crossrefs

Programs

  • Maple
    b:= proc(n, s) option remember; `if`(n=0, s,
          b(n-1, abs(s-n))+b(n-1, s+n))
        end:
    a:= n-> b(n, 0)/2:
    seq(a(n), n=0..31);  # Alois P. Heinz, Jun 13 2025

Formula

a(n) = (1/2) * Sum_{k=0..2^n-1} abs(A365968(n,k)).
a(n) = (1/2) * Sum_{i=0..2^n-1} abs(A384868(i+2^n-1)). - Alois P. Heinz, Jun 13 2025
Showing 1-1 of 1 results.