A125538 Number of n X n arrays with entries in 1..7 in which adjacent entries differ by 5 or less (adjacent means in x or y directions).
1, 7, 2067, 26587217, 14749946711237, 353372896021348132827, 365544303118982657966348922687, 16327402400665015344535793527620336180117
Offset: 0
Comments