OFFSET
0,3
COMMENTS
Number of grains for squared chessboards.
LINKS
FORMULA
a(n) = 2^(n^2) - 1 = A002416(n) - 1. - Omar E. Pol, Jun 11 2012
EXAMPLE
For usual 8 X 8 chessboard there are 2^64 - 1 = 18446744073709551615 grains.
MAPLE
a:= n-> 2^(n^2)-1:
seq(a(n), n=0..15);
MATHEMATICA
2^Range[0, 12]^2 - 1 (* Paul F. Marrero Romero, Sep 30 2024 *)
CROSSREFS
KEYWORD
nonn
AUTHOR
Jani Melik, Jun 06 2012
EXTENSIONS
Better name from Omar E. Pol, Jun 11 2012
STATUS
approved