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-2 of 2 results.

A038158 a(n) = (n!/2)*Sum(1/k!, k=1..n-2).

Original entry on oeis.org

0, 0, 0, 3, 18, 100, 615, 4326, 34636, 311760, 3117645, 34294150, 411529866, 5349888336, 74898436795, 1123476552030, 17975624832600, 305585622154336, 5500541198778201, 104510282776785990, 2090205655535719990, 43894318766250120000
Offset: 0

Views

Author

Keywords

Crossrefs

Row sums of A268217.
Cf. A038157.

Programs

  • PARI
    a(n) = (n!/2)*sum(k=1, n-2, 1/k!); \\ Michel Marcus, Jan 30 2016

Formula

a(n) = A038157(n) / 2. - Sean A. Irvine, Jan 09 2021

A082459 Multiply by 1, add 1, multiply by 2, add 2, etc.

Original entry on oeis.org

-1, -1, 0, 0, 2, 6, 9, 36, 40, 200, 205, 1230, 1236, 8652, 8659, 69272, 69280, 623520, 623529, 6235290, 6235300, 68588300, 68588311, 823059732, 823059744, 10699776672, 10699776685, 149796873590, 149796873604, 2246953104060, 2246953104075, 35951249665200, 35951249665216
Offset: 0

Views

Author

Vladeta Jovovic, Apr 25 2003

Keywords

Comments

Bisections: A038156 and A038157.

Crossrefs

Programs

  • Maple
    seq(op(simplify([exp(1)*GAMMA(k+1,1)-k!-1, exp(1)*GAMMA(k+2,1)-(k+1)!-k-2])),k=0..20); # Robert Israel, Jan 11 2018
  • Mathematica
    FoldList[If[OddQ@ #2, #1 ((#2 + 1)/2), #1 + #2/2] &, -1, Range@ 31] (* Michael De Vlieger, Jan 11 2018 *)

Formula

From Robert Israel, Jan 11 2018: (Start)
a(2*k) = e*Gamma(k+1,1) - k! - 1.
a(2*k+1) = e*Gamma(k+2,1) - (k+1)! - k - 2. (End)
Showing 1-2 of 2 results.