login
This site is supported by donations to The OEIS Foundation.
Logo

Hints
(Greetings from The On-Line Encyclopedia of Integer Sequences!)
A128267 a(0) = 1; a(n) = GCD((number of earlier terms which are coprime to n),(sum of the earlier terms which are coprime to n)). 1
1, 1, 2, 1, 3, 1, 4, 1, 2, 1, 1, 1, 8 (list; graph; refs; listen; history; internal format)
OFFSET

0,3

EXAMPLE

The terms among {a(0),a(1),...a(7)} that are coprime to 8 are a(0)=1, a(1)=1, a(3)=1, a(4)=3, a(5)=1 and a(7)=1. There are 6 such terms and the sum of these terms is 8. So a(8) = GCD(6,8) = 2.

CROSSREFS

Cf. A128268.

Sequence in context: A102547 A177812 A087267 * A028920 A055396 A057499

Adjacent sequences:  A128264 A128265 A128266 * A128268 A128269 A128270

KEYWORD

more,nonn

AUTHOR

Leroy Quet Feb 22 2007

Lookup | Welcome | Wiki | Register | Music | Plot 2 | Demos | Index | Browse | More | WebCam
Contribute new seq. or comment | Format | Transforms | Puzzles | Hot | Classics
Recent Additions | More pages | Superseeker | Maintained by The OEIS Foundation Inc.

Content is available under The OEIS End-User License Agreement .

Last modified February 15 05:45 EST 2012. Contains 205694 sequences.