Logo

Greetings from The On-Line Encyclopedia of Integer Sequences!

Hints

Search: id:A087165
Displaying 1-1 of 1 results found. page 1
     Format: long | short | internal | text      Sort: relevance | references | number      Highlight: on | off
A087165 a(n)=1 when n==1 (mod 4), else a(n)=a(n-ceil(n/4))+1. Removing all the 1's results in the original sequence with every term incremented by 1. +0
2
1, 2, 3, 4, 1, 5, 2, 6, 1, 3, 7, 2, 1, 4, 8, 3, 1, 2, 5, 9, 1, 4, 2, 3, 1, 6, 10, 2, 1, 5, 3, 4, 1, 2, 7, 11, 1, 3, 2, 6, 1, 4, 5, 2, 1, 3, 8, 12, 1, 2, 4, 3, 1, 7, 2, 5, 1, 6, 3, 2, 1, 4, 9, 13, 1, 2, 3, 5, 1, 4, 2, 8, 1, 3, 6, 2, 1, 7, 4, 3, 1, 2, 5, 10, 1, 14, 2, 3, 1, 4, 6, 2, 1, 5, 3, 9, 1, 2, 4, 7, 1, 3, 2 (list; graph; listen)
OFFSET

1,2

COMMENT

Indices of records are given by A087192: a(A087192(n))=n, where A087192(n) = ceiling(A087192(n-1)*4/3).

To construct the sequence: Step 1: start from a sequence of 1 and leave 3 undefined places between two 1 giving: 1,(),(),(),1,(),(),(),1,(),(),(),1,(),(),(),1,(),(),(),1,... Step 2: replace the first undefined place with a 2 and leave 3 undefined places between two 2 giving: 1,2,(),(),1,(),2,(),1,(),(),2,1,(),(),(),1,2,(),(),1,... Step 3: replace the first undefined place with a 3 and leave 3 undefined places between two 3 giving: 1,2,3,(),1,(),2,(),1,3,(),2,1,(),(),3,1,2,(),(),1,... Step 4: replace the first undefined place with a 4 and leave 3 undefined places between two 4 giving: 1,2,3,4,1,(),2,(),1,3,(),2,1,4,(),3,1,2,(),(),1,... Iterating the process indefinitely yields the sequence: 1,2,3,4,1,5,2,6,1,3,7,2,1,4,8,3,1,2,5,9,1,... [From Benoit Cloitre (benoit7848c(AT)orange.fr), Mar 07 2009]

CROSSREFS

Cf. A001511, A087088, A087192.

a(n+1)-a(n) = 4*A018902(n-3), n>2.

Sequence in context: A117742 A117716 A097150 this_sequence A083480 A023133 A026280

Adjacent sequences: A087162 A087163 A087164 this_sequence A087166 A087167 A087168

KEYWORD

nonn

AUTHOR

Paul D. Hanna (pauldhanna(AT)juno.com), Aug 24 2003

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 December 3 22:15 EST 2009. Contains 170310 sequences.


AT&T Labs Research