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!)
A100677 a(1) = 1; a(n) = sum{1<=k<=n/2, GCD(k,n)=1} a(k). 0
1, 1, 1, 1, 2, 1, 3, 2, 3, 2, 6, 3, 7, 4, 6, 7, 12, 6, 15, 8, 9, 10, 23, 12, 22, 16, 25, 20, 37, 17, 43, 29, 30, 29, 45, 31, 68, 41, 56, 48, 91, 43, 100, 59, 69, 65, 133, 69, 129, 80, 114, 103, 183, 91, 152, 123, 147, 135, 265, 104, 282, 172, 215, 215, 274, 165, 384, 233, 277, 203 (list; graph; refs; listen; history; text; internal format)
OFFSET
1,5
LINKS
MAPLE
a[1]:=1: for n from 2 to 74 do b:=0: for k from 1 to n/2 do if gcd(k, n)=1 then b:=b+a[k] else b:=b fi od: a[n]:=b: od: seq(a[n], n=1..74);
MATHEMATICA
a[1] = 1; a[n_] := a[n] = Plus @@ (a /@ Select[Range[n/2], GCD[ #, n] == 1 &]); Table[ a[n], {n, 70}] (* Robert G. Wilson v, Dec 09 2004 *)
CROSSREFS
Sequence in context: A177501 A330926 A323273 * A188637 A083290 A121842
KEYWORD
nonn
AUTHOR
Leroy Quet, Dec 06 2004
EXTENSIONS
More terms from Emeric Deutsch and Robert G. Wilson v, Dec 09 2004
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 August 11 19:17 EDT 2024. Contains 375073 sequences. (Running on oeis4.)