login
The OEIS Foundation is supported by donations from users of the OEIS and by a grant from the Simons Foundation.

 

Logo


Hints
(Greetings from The On-Line Encyclopedia of Integer Sequences!)
A057157 Number of non-invertible functions from {0,1}^n to {0,1}^n. 2
0, 2, 232, 16736896, 18446723150919663616, 1461501637330639787366751139186115801643772542976 (list; graph; refs; listen; history; text; internal format)
OFFSET

0,2

LINKS

Vincenzo Librandi, Table of n, a(n) for n = 0..10

FORMULA

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

MATHEMATICA

Table[(2^n)^(2^n) - (2^n)!, {n, 0, 5}] (* G. C. Greubel, Nov 08 2018 *)

PROG

(MAGMA) [(2^n)^(2^n)-Factorial(2^n): n in [0..5]]; // Vincenzo Librandi, Aug 22 2011

(PARI) vector(6, n, n--; (2^n)^(2^n) - (2^n)!) \\ G. C. Greubel, Nov 08 2018

CROSSREFS

Cf. A057156, A000722, A036679, A000079.

Sequence in context: A012526 A012668 A012530 * A139963 A124046 A101146

Adjacent sequences:  A057154 A057155 A057156 * A057158 A057159 A057160

KEYWORD

nonn,easy

AUTHOR

Henry Bottomley, Aug 15 2000

STATUS

approved

Lookup | Welcome | Wiki | Register | Music | Plot 2 | Demos | Index | Browse | More | WebCam
Contribute new seq. or comment | Format | Style Sheet | Transforms | Superseeker | Recent
The OEIS Community | Maintained by The OEIS Foundation Inc.

License Agreements, Terms of Use, Privacy Policy. .

Last modified January 28 00:32 EST 2020. Contains 331313 sequences. (Running on oeis4.)