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.

A339058 a(n) = 4^n*Euler(n, 1/4)*2^(valuation_{2}(n + 1)).

Original entry on oeis.org

1, -2, -3, 44, 57, -722, -2763, 196888, 250737, -5746082, -36581523, 2049374444, 7828053417, -259141449842, -2309644635483, 705775346640176, 898621108880097, -38901437271432002, -445777636063460643, 43136210244502819244, 274613643571568682777, -14685255919931552812562
Offset: 0

Views

Author

Peter Luschny, Nov 27 2020

Keywords

Examples

			The array of the general case starts:
[k]
[1] 1,  1,  0, -1,   0,     1,     0,     -17,       0, ... [A198631]
[2] 1,  0, -1,  0,   5,     0,   -61,       0,    1385, ... [A122045]
[3] 1, -1, -2, 13,  22,  -121,  -602,   18581,   30742, ... [A156179]
[4] 1, -2, -3, 44,  57,  -722, -2763,  196888,  250737, ... [this sequence]
[5] 1, -3, -4, 99, 116, -2523, -8764, 1074243, 1242356, ... [A156182]
...
		

Crossrefs

Note the difference from A001586, A188458, and A212435.

Programs

  • Maple
    a := n -> 4^n*euler(n, 1/4)*2^padic[ordp](n+1, 2): seq(a(n), n=0..9);
  • Mathematica
    Array[4^#*EulerE[#, 1/4]*2^IntegerExponent[# + 1, 2] &, 22, 0] (* Michael De Vlieger, Mar 15 2022 *)
  • SageMath
    def euler_sum(n):
        return (-1)^n*sum(2^k*binomial(n, k)*euler_number(k) for k in (0..n))
    def a(n): return euler_sum(n) << valuation(n + 1, 2)
    print([a(n) for n in range(22)])
Showing 1-1 of 1 results.