OFFSET
1,3
COMMENTS
Here a primitive path is one which is not a repetition of a smaller path or congruent to a smaller path, e.g. the 3 cases for n = 4 which are counted in A037245 and not counted here (denoted here as positive direction steps in XY coordinates) are: path XYXY, which is a repetition of smaller primitive path XY, path XXYY, which is congruent to smaller primitive path XY, and path XXXX, which is both a repetition of and congruent to smaller primitive path X.
FORMULA
a(p) = A037245(p) - 1 for prime p.
CROSSREFS
KEYWORD
nonn,walk
AUTHOR
Charles L. Hohn, May 14 2026
STATUS
approved
