login
This site is supported by donations to The OEIS Foundation.
Logo

Hints
(Greetings from The On-Line Encyclopedia of Integer Sequences!)
A087684 Consecutive repeating elements in sequence A006158. 0
1, 4, 6, 8, 10, 13, 16, 18, 21, 25, 29, 32, 34, 37, 41, 46, 48, 51, 54, 56, 57, 58, 59, 60, 61, 64, 66, 69, 73, 78, 80, 84, 87, 91, 92, 97, 100, 101, 104, 105, 108, 109, 112, 115, 117, 118, 119, 120, 121, 122, 123, 124, 125, 128, 130, 133, 137, 142, 144, 148, 151, 156 (list; graph; refs; listen; history; internal format)
OFFSET

1,2

FORMULA

Mallows3[n] =Mallows3[Mallows3[n-3]] + Mallows3[n - Mallows3[n-3]]

MATHEMATICA

Mallows3[n_Integer?Positive] := Mallows3[n] =Mallows3[Mallows3[n-3]] + Mallows3[n - Mallows3[n-3]] Mallows3[0]=Mallows3[1] = Mallows3[2] = Mallows3[3] = 1 Digits=1000 a=Table[Mallows3[n], {n, 1, Digits}]; b=Table[If[a[[n]]-a[[n-1]]==0, a[[n]], 0], {n, 2, Digits}]; c=Delete[Union[b], 1]

CROSSREFS

Cf. A006158.

Sequence in context: A186291 A189473 A189383 * A084808 A031020 A087270

Adjacent sequences:  A087681 A087682 A087683 * A087685 A087686 A087687

KEYWORD

nonn

AUTHOR

Roger L. Bagula (rlbagulatftn(AT)yahoo.com), Sep 27 2003

Lookup | Welcome | Wiki | Register | Music | Plot 2 | Demos | Index | Browse | More | WebCam
Contribute new seq. or comment | Format | Transforms | Puzzles | Hot | Classics
Recent Additions | More pages | Superseeker | Maintained by The OEIS Foundation Inc.

Content is available under The OEIS End-User License Agreement .

Last modified February 18 00:14 EST 2012. Contains 206085 sequences.