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

 

Logo


Hints
(Greetings from The On-Line Encyclopedia of Integer Sequences!)
A030338 Length of n-th run of digit 2 in A003137. 4
1, 2, 1, 2, 1, 1, 1, 1, 3, 1, 1, 2, 1, 1, 3, 2, 3, 1, 1, 1, 1, 2, 1, 1, 1, 1, 2, 1, 1, 1, 1, 1, 1, 1, 1, 2, 2, 4, 1, 1, 2, 1, 1, 2, 1, 1, 1, 1, 3, 1, 1, 2, 1, 1, 2, 1, 1, 1, 1, 4, 2, 2, 3, 2, 2, 4, 3, 4, 1, 1, 1, 1, 2, 1, 1, 1, 1, 2, 1, 1, 1, 1, 1, 1, 1, 1, 2, 2, 3, 1 (list; graph; refs; listen; history; text; internal format)
OFFSET

1,2

LINKS

Reinhard Zumkeller, Table of n, a(n) for n = 1..10000

PROG

(Haskell)

import Data.List (group)

a030338 n = a030338_list !! (n-1)

a030338_list = map length $ filter ((== 2) . head) $ group a003137_list

-- Reinhard Zumkeller, Feb 21 2013

CROSSREFS

Cf. A030336, A030337, A030334.

Sequence in context: A161895 A048138 A165022 * A231148 A266649 A159847

Adjacent sequences:  A030335 A030336 A030337 * A030339 A030340 A030341

KEYWORD

nonn,base

AUTHOR

Clark Kimberling

STATUS

approved

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

License Agreements, Terms of Use, Privacy Policy .

Last modified May 25 08:37 EDT 2017. Contains 287015 sequences.