OFFSET
1,1
LINKS
Anders Hellström, Table of n, a(n) for n = 1..27
PROG
(PARI) gpf(n)=my(v=factor(n)[, 1]); v[#v];
first(m)={my(v=vector(m), one=2, two=2, three=1); v[1]=2; for(i=2, m, if(i%3===0, v[i]=gpf(three+1); two*=v[i], if(i%3===1, v[i]=gpf(one+1); three*=v[i], v[i]=gpf(two+1); one*=v[i]))); v; }
CROSSREFS
KEYWORD
nonn
AUTHOR
Anders Hellström, Jul 30 2015
STATUS
approved