OFFSET
0,3
COMMENTS
Convert the following binary numbers to base 10:
0000
0001
0011
0111
1111
1110
1100
1000
0000
0001
etc.
LINKS
Index entries for linear recurrences with constant coefficients, signature (1,0,0,-1,1).
MATHEMATICA
PadRight[{}, 120, {0, 1, 3, 7, 15, 14, 12, 8}] (* Harvey P. Dale, May 17 2021 *)
CROSSREFS
KEYWORD
nonn,easy
AUTHOR
N. J. A. Sloane, Sep 03 2008
STATUS
approved