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.

A057157 Number of non-invertible functions from {0,1}^n to {0,1}^n.

Original entry on oeis.org

0, 2, 232, 16736896, 18446723150919663616, 1461501637330639787366751139186115801643772542976
Offset: 0

Views

Author

Henry Bottomley, Aug 15 2000

Keywords

Crossrefs

Programs

  • Magma
    [(2^n)^(2^n)-Factorial(2^n): n in [0..5]]; // Vincenzo Librandi, Aug 22 2011
    
  • Mathematica
    Table[(2^n)^(2^n) - (2^n)!, {n,0,5}] (* G. C. Greubel, Nov 08 2018 *)
  • PARI
    vector(6,n,n--; (2^n)^(2^n) - (2^n)!) \\ G. C. Greubel, Nov 08 2018

Formula

a(n) = (2^n)^(2^n) - (2^n)! = A057156(n) - A000722(n) = A036679(A000079(n)).