login
The OEIS is supported by the many generous donors to the OEIS Foundation.

 

Logo
Hints
(Greetings from The On-Line Encyclopedia of Integer Sequences!)
A110969 Length of the runs of ones in A014963. 1
1, 1, 1, 1, 2, 1, 3, 1, 1, 1, 1, 4, 3, 1, 3, 1, 3, 5, 1, 2, 2, 3, 1, 5, 1, 1, 5, 7, 3, 1, 3, 1, 3, 7, 3, 1, 2, 5, 1, 9, 1, 5, 5, 3, 1, 3, 5, 1, 9, 1, 3, 1, 11, 11, 3, 1, 3, 5, 1, 1, 7, 4, 5, 5, 1, 5, 3, 1, 5, 3, 13, 3, 1, 3, 13, 5, 5, 3, 1, 3, 5, 1, 5, 5, 5, 3, 5, 7, 3, 7 (list; graph; refs; listen; history; text; internal format)
OFFSET
1,5
COMMENTS
Unbounded sequence.
LINKS
EXAMPLE
a(5)=2 because the fifth run of ones in A014963 is of length 2.
MATHEMATICA
Length /@ SplitBy[Table[Exp[MangoldtLambda[n]], {n, 400}], # != 1 &][[ ;; -1 ;; 2]] (* Michael De Vlieger, Mar 21 2024 *)
PROG
(PARI) \\ b(n) returns boolean of A014963(n) == 1.
b(n)={my(t); !isprime(if(ispower(n, , &t), t, n))}
seq(n)={my(k=1, i=0, L=List()); while(#L<n, i++; if(!b(i), if(i>k, listput(L, i-k)); k = i+1)); Vec(L)} \\ Andrew Howroyd, Jan 02 2020
CROSSREFS
Cf. A014963.
Sequence in context: A328392 A051794 A333305 * A362681 A320077 A325522
KEYWORD
nonn,changed
AUTHOR
Franz Vrabec, Sep 27 2005
EXTENSIONS
Terms a(41) and beyond from Andrew Howroyd, Jan 02 2020
STATUS
approved

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

License Agreements, Terms of Use, Privacy Policy. .

Last modified March 29 06:57 EDT 2024. Contains 371265 sequences. (Running on oeis4.)