A337132 a(n) is the number of squares at distance n from the central square of a Vicsek fractal.
1, 4, 4, 4, 12, 4, 4, 12, 4, 4, 12, 12, 12, 36, 4, 4, 12, 4, 4, 12, 12, 12, 36, 4, 4, 12, 4, 4, 12, 12, 12, 36, 12, 12, 36, 12, 12, 36, 36, 36, 108, 4, 4, 12, 4, 4, 12, 12, 12, 36, 4, 4, 12, 4, 4, 12, 12, 12, 36, 12, 12, 36, 12, 12, 36, 36, 36, 108, 4, 4, 12
Offset: 0
Keywords
Links
- Rémy Sigrist, Table of n, a(n) for n = 0..6561
- Rémy Sigrist, Illustration of initial terms
- Rémy Sigrist, PARI program for A337132
- Wikipedia, Vicsek fractal
Programs
-
PARI
See Links section.
Formula
a(n) = 4 iff n belongs to A153775.
Comments