Logo

Greetings from The On-Line Encyclopedia of Integer Sequences!

Hints

Search: id:A125060
Displaying 1-1 of 1 results found. page 1
     Format: long | short | internal | text      Sort: relevance | references | number      Highlight: on | off
A125060 Irregular array where a(1)=1; run n of the sequence is the first a(n-1) integers from among those positive integers which are coprime to n and which do not occur earlier in the sequence {a(k)}. +0
1
1, 3, 2, 4, 5, 7, 9, 6, 8, 11, 12, 13, 17, 19, 23, 25, 10, 15, 16, 18, 20, 22, 24, 21, 27, 29, 31, 33, 35, 37, 39, 41, 14, 26, 28, 32, 34, 38, 43, 47, 49, 51, 53, 57, 59, 61, 30, 36, 40, 42, 45, 46, 48, 50, 52, 54, 56, 55, 65, 67, 71, 73, 77, 79, 83, 85, 89, 91, 95, 44, 58, 60 (list; graph; listen)
OFFSET

1,2

COMMENT

This sequence is a permutation of the positive integers.

LINKS

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

EXAMPLE

The sequence grouped by runs, where run n, after the first 1, consists of a(n-1) terms:

1,(3),(2,4,5),(7,9),(6,8,11,12),(13,17,19,23,25),(10,15,16,18,20,22,24),...

a(5) is 5. So run 6 contains the first 5 positive integers which do not occur earlier in the sequence and which are coprime to 6, (13,17,19,23,25).

MATHEMATICA

f[l_List] := Block[{n = Length[l] + 1, fl = Flatten[l], c, k = 0, r = {}}, c = fl[[n - 1]]; While[c > 0, k++; While[MemberQ[fl, k] || GCD[k, n] > 1, k++ ]; AppendTo[r, k]; c--; ]; Append[l, r]]; Nest[f, {{1}}, 12] // Flatten(*Chandler*)

CROSSREFS

Cf. A081964.

Sequence in context: A116966 A163241 A165279 this_sequence A039882 A164287 A086962

Adjacent sequences: A125057 A125058 A125059 this_sequence A125061 A125062 A125063

KEYWORD

nonn

AUTHOR

Leroy Quet Jan 08 2007

EXTENSIONS

Extended by Ray Chandler (rayjchandler(AT)sbcglobal.net), Feb 13 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 29 12:46 EST 2009. Contains 167659 sequences.


AT&T Labs Research