OFFSET
1,1
COMMENTS
To calculate a(n) consider that levels greater than n do not exist.
The shape of the n-th level of the pyramid allows us to know if n is prime (see the Formula section).
For more information about the sequences that we can see in the pyramid see A262626.
LINKS
FORMULA
EXAMPLE
For n = 1 the first level of the stepped pyramid (starting from the top) is a cube, and a cube has six faces, so a(1) = 6.
CROSSREFS
KEYWORD
nonn,more
AUTHOR
Omar E. Pol, Apr 16 2019
STATUS
approved