OFFSET
0,2
LINKS
Michael De Vlieger, Table of n, a(n) for n = 0..575
A. R. Ashrafi, L. Ghanbari Maman, K. Kavousi, F. Koorepazan Moftakhar, An Algorithm for Constructing All Supercharacter Theories of a Finite Group, arXiv:1911.12232 [math.GR], 2019.
FORMULA
a(n) = 2*Bell(n+1) - 1. - Vladeta Jovovic, Feb 11 2003
Equals the binomial transform of A186021. Also, a(n) = A186021(n+1) - 1. - Gary W. Adamson May 20 2013
EXAMPLE
a(3) = 29 = (30 - 1) = A186021(4) - 1
MAPLE
MATHEMATICA
Array[2 BellB[# + 1] - 1 &, 23, 0] (* Michael De Vlieger, Feb 12 2020 *)
PROG
(PARI) vector(26, n, my(m=n-1); 2*sum(k=0, m+1, stirling(m+1, k, 2)) -1 ) \\ G. C. Greubel, Feb 12 2020
(Magma) [2*Bell(n+1) -1: n in [0..25]]; // G. C. Greubel, Feb 12 2020
(Sage) [2*bell_number(n+1)-1 for n in (0..25)] # G. C. Greubel, Feb 12 2020
CROSSREFS
KEYWORD
easy,nonn
AUTHOR
Frank Ellermann, Apr 23 2001
STATUS
approved