login
The OEIS is supported by the many generous donors to the OEIS Foundation.

 

Logo
Hints
(Greetings from The On-Line Encyclopedia of Integer Sequences!)
A115015 Sum_{i=1..n} (gcd(7,i)=1) i. 1
1, 3, 6, 10, 15, 21, 21, 29, 38, 48, 59, 71, 84, 84, 99, 115, 132, 150, 169, 189, 189, 211, 234, 258, 283, 309, 336, 336, 365, 395, 426, 458, 491, 525, 525, 561, 598, 636, 675, 715, 756, 756, 799, 843, 888, 934, 981, 1029, 1029, 1079, 1130, 1182, 1235, 1289, 1344, 1344 (list; graph; refs; listen; history; text; internal format)
OFFSET
1,2
LINKS
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
Cf. A115012.
Sequence in context: A306698 A139131 A130485 * A231676 A056150 A310081
KEYWORD
nonn
AUTHOR
N. J. A. Sloane, Feb 24 2006
STATUS
approved

Lookup | Welcome | Wiki | Register | Music | Plot 2 | Demos | Index | Browse | More | WebCam
Contribute new seq. or comment | Format | Style Sheet | Transforms | Superseeker | Recents
The OEIS Community | Maintained by The OEIS Foundation Inc.

License Agreements, Terms of Use, Privacy Policy. .

Last modified April 18 15:04 EDT 2024. Contains 371780 sequences. (Running on oeis4.)