This site is supported by donations to The OEIS Foundation.

 Hints (Greetings from The On-Line Encyclopedia of Integer Sequences!)
 A136347 a(1)=1. Let m be the number of terms in the longest run of consecutive equal terms from among the first n terms of the sequence. a(n+1) = the number of terms, from among the first n terms of the sequence, that are coprime to m. 2
 1, 1, 2, 2, 2, 5, 6, 6, 6, 6, 3, 4, 4, 4, 4, 4, 15, 15, 15, 15, 15, 15, 3, 3, 3, 3, 3, 3, 3, 29, 30, 31, 32, 33, 34, 35, 35, 35, 35, 35, 35, 35, 35, 28, 28, 28, 28, 28, 28, 28, 28, 28, 32, 33, 33, 33, 33, 33, 33, 33, 33, 33, 33, 23, 24, 24, 24, 24, 24, 24, 24 (list; graph; refs; listen; history; text; internal format)
 OFFSET 1,3 LINKS Rémy Sigrist, Table of n, a(n) for n = 1..10000 Rémy Sigrist, PARI program for A136347 EXAMPLE Among the first 30 terms of the sequence the run of seven 3's (from a(23) to a(29)) is the longest run of consecutive equal terms. (So m = 7.) Among the first 30 terms of the sequence, all 30 terms are coprime to 7. So a(31) = 30. PROG (PARI) See Links section. CROSSREFS Cf. A136348. Sequence in context: A123953 A097006 A033306 * A279515 A260338 A023569 Adjacent sequences:  A136344 A136345 A136346 * A136348 A136349 A136350 KEYWORD nonn,look AUTHOR Leroy Quet, Dec 25 2007 EXTENSIONS More terms from Rémy Sigrist, Aug 02 2018 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.

Last modified September 20 18:26 EDT 2018. Contains 315240 sequences. (Running on oeis4.)