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.

A158345 The number of pairs of independent outcomes when rolling an n-sided die. Or in other words, the number of pairs of proper subsets A,B of a set S, such that #A/#S * #B/#S = #(A \intersect B)/#S.

Table of values

n a(n)
1 1
2 5
3 13
4 53
5 61
6 845
7 253
8 7509
9 16141
10 128045
11 4093
12 1785965
13 16381
14 23576285
15 55921333
16 274696789
17 262141
18 5338300157
19 1048573
20 63028146573
21 117924207421
22 995274180125
23 16777213
24 15265519672173
25 14283159085861

List of values

[1, 5, 13, 53, 61, 845, 253, 7509, 16141, 128045, 4093, 1785965, 16381, 23576285, 55921333, 274696789, 262141, 5338300157, 1048573, 63028146573, 117924207421, 995274180125, 16777213, 15265519672173, 14283159085861]