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.

A345465 a(n) = Sum_{d|n} (d!)^d.

Original entry on oeis.org

1, 5, 217, 331781, 24883200001, 139314069504000221, 82606411253903523840000001, 6984964247141514123629140377600331781, 109110688415571316480344899355894085582848000000217, 395940866122425193243875570782668457763038822400000000024883200005
Offset: 1

Views

Author

Seiichi Manyama, Jul 10 2021

Keywords

Crossrefs

Programs

  • Mathematica
    Total/@Table[((Divisors[n])!)^Divisors[n],{n,10}] (* Harvey P. Dale, Apr 24 2022 *)
  • PARI
    a(n) = sumdiv(n, d, d!^d);
    
  • PARI
    my(N=20, x='x+O('x^N)); Vec(sum(k=1, N, (k!*x)^k/(1-x^k)))

Formula

G.f.: Sum_{k >= 1} (k! * x)^k/(1 - x^k).
If p is prime, a(p) = 1 + (p!)^p.

A348146 a(n) = Sum_{d|n} (d!)^(n-d).

Original entry on oeis.org

1, 2, 2, 6, 2, 234, 2, 331842, 46658, 24883200258, 2, 139314179589392898, 2, 82606411253903523840004098, 619173642242176782338, 6984964247141514123665660725036072962, 2, 109110688415571335888754861121236891599318185050114, 2
Offset: 1

Views

Author

Wesley Ivan Hurt, Oct 02 2021

Keywords

Crossrefs

Programs

  • Mathematica
    Table[Sum[(i!)^(n - i) (1 - Ceiling[n/i] + Floor[n/i]), {i, n}], {n, 20}]
  • PARI
    a(n) = sumdiv(n, d, d!^(n-d)); \\ Seiichi Manyama, Oct 03 2021
    
  • PARI
    my(N=20, x='x+O('x^N)); Vec(sum(k=1, N, x^k/(1-(k!*x)^k))) \\ Seiichi Manyama, Oct 03 2021

Formula

a(p) = 2 for primes p.
G.f.: Sum_{k>=1} x^k/(1 - (k! * x)^k). - Seiichi Manyama, Oct 03 2021
Showing 1-2 of 2 results.