OFFSET
1,2
FORMULA
a(-1-n) = a(n). - Michael Somos, Jul 12 2006
PROG
(PARI) a(n)=binomial(n+1, 2)-7*binomial(n\7+1, 2) /* Michael Somos, Jul 12 2006 */
(PARI) a(n)=sum(i=1, n, i*(1==gcd(7, i))) /* Michael Somos, Jul 12 2006 */
CROSSREFS
KEYWORD
nonn
AUTHOR
N. J. A. Sloane, Feb 24 2006
STATUS
approved