OFFSET
0,2
LINKS
Harry J. Smith, Table of n, a(n) for n=0,...,15
FORMULA
a(n) = 2^A000073(n+1).
EXAMPLE
a(6) = 128*16*4 = 8192.
MATHEMATICA
a0=1; a1=1; a2=2; lst={a0, a1, a2}; Do[AppendTo[lst, a=a0*a1*a2]; a0=a1; a1=a2; a2=a, {n, 12}]; lst (* Vladimir Joseph Stephan Orlovsky, Nov 18 2009 *)
RecurrenceTable[{a[0]==1, a[1]==a[2]==2, a[n]==a[n-1]a[n-2]a[n-3]}, a, {n, 12}] (* Harvey P. Dale, Sep 05 2021 *)
PROG
(PARI) { for (n = 0, 15, if (n>2, a=a1*a2*a3; a3=a2; a2=a1; a1=a, if (n==0, a=a3=1; a1=a2=2, a=2)); write("b063401.txt", n, " ", a) ) } \\ Harry J. Smith, Aug 20 2009
CROSSREFS
KEYWORD
nonn
AUTHOR
Henry Bottomley, Jul 16 2001
EXTENSIONS
Definition corrected to a(1)=2 by Harry J. Smith, Aug 20 2009
STATUS
approved