Logo

Greetings from The On-Line Encyclopedia of Integer Sequences!

Hints

Search: id:A127418
Displaying 1-1 of 1 results found. page 1
     Format: long | short | internal | text      Sort: relevance | references | number      Highlight: on | off
A127418 a(1)=1; for n>1, a(n) = the number of earlier terms a(k), 1<k<=n-1, such that (a(k)+n) is coprime to k. +0
2
1, 1, 1, 3, 1, 5, 3, 6, 4, 7, 3, 10, 8, 8, 10, 11, 7, 11, 10, 13, 13, 14, 10, 18, 15, 16, 16, 17, 13, 20, 20, 16, 23, 21, 17, 25, 24, 21, 23, 25, 19, 30, 25, 25, 25, 29, 23, 36, 29, 29, 32, 33, 26, 41, 28, 37, 32, 37, 30, 41, 32, 41, 33, 42, 32, 51, 36, 44, 39, 43, 38, 52, 41, 44 (list; graph; listen)
OFFSET

1,4

COMMENT

The value of a(1) = 1 is arbitrary. a(1) can be any integer and the rest of the sequence would remain unchanged.

LINKS

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

EXAMPLE

a(1)+11 = 12 is coprime to 1; a(5)+11 = 12 is coprime to 5; and a(8)+11 = 17 is coprime to 8. These 3 are the only cases where (a(k)+11) is coprime to k, for 1 <=k <=10. So a(11) = 3.

MATHEMATICA

f[l_List] := Block[{n = Length[l] + 1}, Append[l, Count[Table[GCD[l[[k]] + n, k], {k, n - 1}], 1]]]; Nest[f, {1}, 74] (*Chandler*)

CROSSREFS

Cf. A127417.

Sequence in context: A071168 A091926 A109606 this_sequence A099550 A099549 A082725

Adjacent sequences: A127415 A127416 A127417 this_sequence A127419 A127420 A127421

KEYWORD

nonn

AUTHOR

Leroy Quet Jan 13 2007

EXTENSIONS

Extended by Ray Chandler (rayjchandler(AT)sbcglobal.net), Jan 22 2007

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