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!)
A081236 Greatest k<n with mu(n-k)=mu(n)=mu(n+k), where mu=A008683 (Moebius function). 1
0, 0, 0, 0, 2, 0, 4, 4, 0, 4, 8, 8, 10, 8, 0, 12, 14, 14, 12, 16, 0, 16, 20, 20, 7, 25, 23, 24, 24, 23, 28, 28, 32, 28, 34, 32, 34, 24, 38, 36, 38, 37, 40, 40, 36, 45, 42, 44, 41, 46, 36, 48, 50, 50, 40, 52, 36, 57, 54, 56, 48, 61, 54, 60, 64, 64, 64, 64, 54, 68, 68, 68, 66, 68, 57 (list; graph; refs; listen; history; text; internal format)
OFFSET
1,5
COMMENTS
a(A081237(n))=0.
LINKS
MATHEMATICA
gk[n_]:=Module[{m1=MoebiusMu[n], k=n-1}, While[m1!=MoebiusMu[n-k]||m1! = MoebiusMu[ n+k], k--]; k]; Array[gk, 80] (* Harvey P. Dale, Oct 18 2019 *)
CROSSREFS
Sequence in context: A364258 A307658 A265511 * A338896 A182059 A103328
KEYWORD
nonn
AUTHOR
Reinhard Zumkeller, Mar 11 2003
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 April 24 12:31 EDT 2024. Contains 371937 sequences. (Running on oeis4.)