OFFSET
1,1
REFERENCES
Norman Sullivan, Test Your Own IQ, Workman Publishing Co. New York, NY, 1994, pp. 48, 50.
LINKS
Harry J. Smith, Table of n, a(n) for n = 1..1000
FORMULA
a(n) = t*(5 - (t mod 2)) where t is the n-th triangular number (A000217(n)). - Jon E. Schoenfield, Jul 01 2018
G.f.: -2*(2*x^6+9*x^4-4*x^3+9*x^2+2)*x/((x-1)^3*(x^2+1)^3). - Alois P. Heinz, Jul 01 2018
PROG
(PARI) { for (n=1, 1000, a=n*(n + 1)/2; if (a%2, a*=4, a*=5); write("b061726.txt", n, " ", a) ) } \\ Harry J. Smith, Jul 27 2009
CROSSREFS
KEYWORD
easy,nonn
AUTHOR
Jason Earls, May 05 2001
EXTENSIONS
More terms from Larry Reeves (larryr(AT)acm.org), May 07 2001
STATUS
approved