The OEIS mourns the passing of Jim Simons and is grateful to the Simons Foundation for its support of research in many branches of science, including the OEIS.
login
The OEIS is supported by the many generous donors to the OEIS Foundation.

 

Logo
Hints
(Greetings from The On-Line Encyclopedia of Integer Sequences!)
A344112 Triangle read by rows: T(n,k) is the number of relations from an n-element set to a k-element set that are not functions. 6
1, 3, 12, 7, 56, 485, 15, 240, 4015, 65280, 31, 992, 32525, 1047552, 33551307, 63, 4032, 261415, 16773120, 1073726199, 68719430080, 127, 16256, 2094965, 268419072, 34359660243, 4398046231168, 562949952597769, 255, 65280, 16770655, 4294901760, 1099511237151 (list; table; graph; refs; listen; history; text; internal format)
OFFSET
1,2
LINKS
Michael De Vlieger, Table of n, a(n) for n = 1..1275 (rows n = 1..50, flattened)
Mohammad K. Azarian, Remarks and Conjectures Regarding Combinatorics of Discrete Partial Functions, Int'l Math. Forum (2022) Vol. 17, No. 3, 129-141.
FORMULA
T(n,k) = 2^(n*k) - k^n, n,k >= 1.
EXAMPLE
T(2,2) = (number of relations) - (number of functions) = 2^4 - 4 = 12.
Triangle T(n,k) begins:
1;
3, 12;
7, 56, 485;
15, 240, 4015, 65280;
31, 992, 32525, 1047552, 33551307;
MATHEMATICA
Column[Table[2^(n*k) - k^n, {n, 10}, {k, n}], Center]
CROSSREFS
Sequence in context: A175046 A093855 A355338 * A337203 A013188 A234947
KEYWORD
easy,nonn,tabl
AUTHOR
Mohammad K. Azarian, May 10 2021
STATUS
approved

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

License Agreements, Terms of Use, Privacy Policy. .

Last modified May 13 00:07 EDT 2024. Contains 372497 sequences. (Running on oeis4.)