OFFSET
1,2
EXAMPLE
17 is a term because (0 + 1 + 2 + 5 + 12 + 29 + 70) / 7 = 119 / 7 = 17.
PROG
(PARI) a048739(n) = local(w=quadgen(8)); -1/2+(3/4+1/2*w)*(1+w)^n+(3/4-1/2*w)*(1-w)^n;
for(n=1, 1e2, if(a048739(n-1) % (n+1) == 0, print1(a048739(n-1) / (n+1) , ", ")));
CROSSREFS
KEYWORD
nonn
AUTHOR
Altug Alkan, Mar 15 2016
STATUS
approved