Logo

Greetings from The On-Line Encyclopedia of Integer Sequences!

Hints

Search: id:A096217
Displaying 1-1 of 1 results found. page 1
     Format: long | short | internal | text      Sort: relevance | references | number      Highlight: on | off
A096217 a(n) = sum of terms of {a(1),a(2),a(3),...a(n-1)} which are coprime to n. +0
1
1, 1, 2, 2, 6, 2, 14, 2, 24, 2, 56, 2, 114, 2, 86, 2, 318, 2, 524, 2, 632, 2, 1798, 2, 3598, 2, 6736, 2, 12138, 2, 24278, 2, 37756, 2, 72308, 2, 160424, 2, 308250, 2, 629102, 2, 1258120, 2, 937358, 2, 3453688, 2, 3437884, 2, 9395312, 2, 18802902, 2, 36816688, 2 (list; graph; listen)
OFFSET

1,3

COMMENT

a(n) is 2 if n is an even integer >= 4.

LINKS

Leroy Quet, Home Page (listed in lieu of email address)

EXAMPLE

a(1)=1, a(2)=1, a(3)=2, a(4)=2, a(6)=2, a(7)=14 and a(8)=2 are the terms, prior to a(9), which are coprime to 9. So a(9) = 1 +1 +2 +2 +2 +14 +2 = 24.

MATHEMATICA

a[1] = 1; a[n_] := a[n] = Plus @@ (a /@ Select[Range[n - 1], GCD[ a[ # ], n] == 1 &]); Table[ a[n], {n, 56}] (from Robert G. Wilson v Jul 31 2004)

CROSSREFS

Sequence in context: A091818 A071223 A055934 this_sequence A098555 A057562 A102628

Adjacent sequences: A096214 A096215 A096216 this_sequence A096218 A096219 A096220

KEYWORD

nonn

AUTHOR

Leroy Quet Jul 28 2004

EXTENSIONS

Edited and extended by Robert G. Wilson v (rgwv(AT)rgwv.com), Jul 31 2004

page 1

Search completed in 0.002 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 November 25 20:09 EST 2009. Contains 167514 sequences.


AT&T Labs Research