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”).

A112542 as a simple table

na(n)
1312
2312
3104
4312
5312
6104
7312
8312
91

[312,312,104,312,312,104,312,312,1]