A162085 Number of n X n 0..2 arrays with rows and columns, considered as 3-ary numbers, in nondecreasing order.
3, 29, 1169, 250841, 318174607, 2533164987353, 132171590850720635, 46774077148795239899357, 115527764322088806347883934235
Offset: 1