login

Year-end appeal: Please make a donation to the OEIS Foundation to support ongoing development and maintenance of the OEIS. We are now in our 61st year, we have over 378,000 sequences, and we’ve reached 11,000 citations (which often say “discovered thanks to the OEIS”).

A007791 as a simple table

na(n)
01
11
21
316
40
51
61
7256
881
90
104641
1116
121
131
140
154096
161
1781
18721
190
201
214641
221
23256
2478125
251
266561
2716

[1,1,1,16,0,1,1,256,81,0,4641,16,1,1,0,4096,1,81,
 721,0,1,4641,1,256,78125,1,6561,16]