Logo

Greetings from The On-Line Encyclopedia of Integer Sequences!

Hints

Search: id:A082865
Displaying 1-1 of 1 results found. page 1
     Format: long | short | internal | text      Sort: relevance | references | number      Highlight: on | off
A082865 a(n) is the sum of the preceding terms that are coprime to n. +0
1
1, 2, 3, 4, 10, 1, 21, 26, 44, 26, 94, 2, 182, 5, 382, 31, 834, 38, 1668, 57, 666, 119, 4216, 157, 8574, 395, 5735, 6385, 29678, 309, 49683, 62902, 80713, 143496, 320705, 414247, 1125010, 878510, 2929386, 545342, 6609659, 507670, 7117329, 14284850 (list; graph; listen)
OFFSET

1,2

EXAMPLE

a(6)=1 as 2,3,4 and 10 all have gcd(6,x)>1.

PROGRAM

(PARI) { v=vector(100, i, 0); v[1]=1; v[2]=2; print1("1, 2, "); for (i=3, 100, for (j=1, i-1, if (gcd(i, v[j]) == 1, v[i]+=v[j])); print1(v[i]", ")) }

CROSSREFS

Sequence in context: A076018 A076017 A135112 this_sequence A158929 A140598 A129920

Adjacent sequences: A082862 A082863 A082864 this_sequence A082866 A082867 A082868

KEYWORD

nonn

AUTHOR

Jon Perry (perry(AT)globalnet.co.uk), May 24 2003

page 1

Search completed in 0.006 seconds

Lookup | Welcome | Find friends | Music | Plot 2 | Demos | Index | Browse | More | WebCam
Contribute new seq. or comment | Format | Transforms | Puzzles | Hot | Classics
More pages | Superseeker | Maintained by N. J. A. Sloane (njas@research.att.com)

Last modified December 4 12:48 EST 2009. Contains 170310 sequences.


AT&T Labs Research