Logo

Greetings from The On-Line Encyclopedia of Integer Sequences!

Hints

Search: id:A125715
Displaying 1-1 of 1 results found. page 1
     Format: long | short | internal | text      Sort: relevance | references | number      Highlight: on | off
A125715 a(1)=1. a(n) = the smallest positive integer not occurring earlier in the sequence such that (sum{k=1 to n-1} a(k)) is congruent to a(n) (mod n). +0
2
1, 3, 4, 8, 6, 10, 11, 19, 17, 9, 22, 2, 21, 7, 5, 33, 25, 23, 36, 42, 31, 27, 40, 18, 20, 24, 32, 48, 51, 55, 30, 72, 26, 64, 37, 15, 43, 63, 103, 143, 16, 44, 59, 45, 60, 90, 56, 80, 79, 75, 14, 96, 52, 68, 100, 108, 65, 91, 84, 128, 94, 146, 61, 13, 110, 176, 107, 99, 12, 114 (list; graph; listen)
OFFSET

1,2

COMMENT

This sequence seems likely to be a permutation of the positive integers.

LINKS

Ferenc Adorjan, Table of n,a(n) for n=1,10000

Ferenc Adorjan, Some characteristics of Leroy Quet's permutation sequences

MATHEMATICA

f[l_List] := Block[{n = Length[l] + 1, k = Mod[Plus @@ l, n, 1]}, While[MemberQ[l, k], k += n]; Append[l, k]]; Nest[f, {1}, 70] (*Chandler*)

PROGRAM

(PARI) {Quet_p1(n)=/* Permutation sequence a'la Leroy Quet, A125715 */local(x=[1], s=1, k=0, w=1); for(i=2, n, if((k=s%i)==0, k=i); while(bittest(w, k-1)>0, k+=i); x=concat(x, k); s+=k; w+=2^(k-1)); return(x)}

CROSSREFS

Adjacent sequences: A125712 A125713 A125714 this_sequence A125716 A125717 A125718

Sequence in context: A078766 A050417 A074212 this_sequence A129283 A079787 A081307

KEYWORD

nonn

AUTHOR

Leroy Quet (qq-quet(AT)mindspring.com), Feb 01 2007

EXTENSIONS

Extended by Ray Chandler (rayjchandler(AT)sbcglobal.net), Feb 04 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 October 16 00:31 EDT 2008. Contains 145098 sequences.


AT&T Labs Research