Logo

Greetings from The On-Line Encyclopedia of Integer Sequences!

Hints

Search: id:A006337
Displaying 1-1 of 1 results found. page 1
     Format: long | short | internal | text      Sort: relevance | references | number      Highlight: on | off
A006337 An "eta-sequence": [ (n+1)*sqrt(2) ] - [ n*sqrt(2) ].
(Formerly M0086)
+0
9
1, 2, 1, 2, 1, 1, 2, 1, 2, 1, 1, 2, 1, 2, 1, 2, 1, 1, 2, 1, 2, 1, 1, 2, 1, 2, 1, 2, 1, 1, 2, 1, 2, 1, 1, 2, 1, 2, 1, 1, 2, 1, 2, 1, 2, 1, 1, 2, 1, 2, 1, 1, 2, 1, 2, 1, 2, 1, 1, 2, 1, 2, 1, 1, 2, 1, 2, 1, 1, 2, 1, 2, 1, 2, 1, 1, 2, 1, 2, 1, 1, 2, 1, 2, 1, 2, 1, 1, 2, 1, 2, 1, 1, 2, 1, 2, 1, 2, 1, 1, 2, 1, 2, 1, 1 (list; graph; listen)
OFFSET

1,2

COMMENT

Defined by: (i) a(1) = 1; (ii) sequence consists of single 2's separated by strings of 1's; (iii) the sequence of lengths of runs of 1's in the sequence is equal to the sequence.

Equals its own "derivative", which is formed by counting the strings of 1's that lie between 2's.

First differences of A001951. - Philippe DELEHAM (kolotoko(AT)wanadoo.fr), May 29 2006

REFERENCES

F. M. Dekking, On the structure of self-generating sequences, Seminar on Number Theory, 1980-1981 (Talence, 1980-1981), Exp. No. 31, 6 pp., Univ. Bordeaux I, Talence, 1981. Math. Rev. 83e:10075.

Douglas Hofstadter, "Fluid Concepts and Creative Analogies", Chapter 1: "To seek whence cometh a sequence".

C. Kimberling, Problem 6281, Amer. Math. Monthly 86 (1979), no. 9, 793.

N. J. A. Sloane and Simon Plouffe, The Encyclopedia of Integer Sequences, Academic Press, 1995 (includes this sequence).

LINKS

T. D. Noe, Table of n, a(n) for n=1..10000

FORMULA

Let S(0) = 1; obtain S(k) from S(k-1) by applying 1 -> 12, 2 -> 112; sequence is S(0), S(1), S(2), ... - Matthew Vandermast (ghodges14(AT)comcast.net), Mar 25 2003

a(A003152(n)) = 1 and a(A003151(n)) = 2 . - Philippe DELEHAM (kolotoko(AT)wanadoo.fr), May 29 2006

MAPLE

Digits := 100; sq2 := sqrt(2.); A006337 := n->floor((n+1)*sq2)-floor(n*sq2);

MATHEMATICA

Flatten[ Table[ Nest[ Flatten[ # /. {1 -> {1, 2}, 2 -> {1, 1, 2}}] &, {1}, n], {n, 5}]] (from Robert G. Wilson v (rgwv(AT)rgwv.com), May 06 2005)

CROSSREFS

Cf. A006338. Exchanging 1's and 2's gives A080763. Essentially same as A004641 + 1.

Sequence in context: A128185 A022300 A105690 this_sequence A006338 A020903 A133083

Adjacent sequences: A006334 A006335 A006336 this_sequence A006338 A006339 A006340

KEYWORD

nonn,easy,nice

AUTHOR

D. R. Hofstadter

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 22 20:51 EST 2009. Contains 167312 sequences.


AT&T Labs Research