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

A090158 as a simple table

na(n)
01
10
2-3
39
4-15
515
6-63
7399
8-255
9-7425
10-1023
11355839
12-4095
13-22360065
14-16383
151903790079
16-65535
17-209865211905
18-262143
1929088885637119
20-1048575
21-4951498051026945
22-4194303
231015423886515240959
24-16777215
25-246921480190174429185

[1,0,-3,9,-15,15,-63,399,-255,-7425,-1023,355839,
 -4095,-22360065,-16383,1903790079,-65535,
 -209865211905,-262143,29088885637119,-1048575,
 -4951498051026945,-4194303,1015423886515240959,
 -16777215,-246921480190174429185]