OFFSET
0,3
LINKS
FORMULA
For n > 3, a(n) = 2^(n-3)*3. - Ray Chandler, Nov 01 2003
a(n) = A058764(n-2). - Philippe Deléham, Oct 17 2011
G.f.: (2*x^4-2*x^2+2*x-1)/(2*x-1). - Colin Barker, Oct 23 2012
MATHEMATICA
Join[{1, 0, 2, 4}, LinearRecurrence[{2}, {6}, 40]] (* Jean-François Alcover, Mar 07 2020 *)
PROG
(PARI) a(n) = {m = 1; while (omega(m) + bigomega(m) != n, m++); m} \\ Michel Marcus, Oct 23 2013
CROSSREFS
KEYWORD
nonn,easy
AUTHOR
Lekraj Beedassy, Oct 13 2003
EXTENSIONS
Corrected and extended by Ray Chandler, Nov 01 2003
STATUS
approved