The OEIS Foundation is supported by donations from users of the OEIS and by a grant from the Simons Foundation.
Please make a donation to keep the OEIS running. We are now in our 56th year. In the past year we added 10000 new sequences and reached almost 9000 citations
(which often say "discovered thanks to the OEIS").
a(2) = 30 since there are 36 2-step walks but 6 of them involve a return to the origin at some stage; similarly a(3) = 180 since there are 216 3-step walks but 36 of them involve a return to the origin at some stage.