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!)
A100387 a(n) is the largest number x such that for m=n to n+x-1, A006530(m) decreases. 1
1, 2, 1, 2, 1, 2, 1, 1, 1, 2, 1, 4, 3, 2, 1, 2, 1, 2, 1, 1, 1, 2, 1, 1, 2, 1, 1, 2, 1, 2, 1, 1, 3, 2, 1, 4, 3, 2, 1, 2, 1, 3, 2, 1, 1, 2, 1, 2, 1, 2, 1, 2, 1, 2, 1, 1, 1, 2, 1, 4, 3, 2, 1, 2, 1, 2, 1, 2, 1, 2, 1, 3, 2, 1, 2, 1, 1, 3, 2, 1, 1, 2, 1, 1, 3, 2, 1, 2, 1, 1, 1, 1, 3, 2, 1, 2, 1, 2, 1, 2, 1, 3, 2, 1 (list; graph; refs; listen; history; text; internal format)
OFFSET
2,2
COMMENTS
A006530(m) is the largest prime factor of m.
LINKS
FORMULA
From Pontus von Brömssen, Nov 09 2022: (Start)
a(n) = 1 if and only if n >= 2 and n is a term of A070089.
If a(n) > 1 then a(n) = a(n+1)+1.
(End)
EXAMPLE
a(13)=4 because the largest prime factors of 13,14,15,16 are 13,7,5,2; but A006530(17)=17.
MATHEMATICA
<<NumberTheory`NumberTheoryFunctions` mxp[x_] :=Max[PrimeFactorList[x]]; uph=Table[First[Flatten[Position[Sign[RotateLeft[Table[mxp[n+j], {j, 0, 15}]]-Table[mxp[n+j], {j, 0, 15}]], 1]]], {n, 1, 256}]
CROSSREFS
Sequence in context: A023520 A103587 A306446 * A322869 A229344 A210501
KEYWORD
nonn
AUTHOR
Labos Elemer, Dec 10 2004
EXTENSIONS
Edited by Don Reble, Jun 13 2007
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 07:54 EDT 2024. Contains 371922 sequences. (Running on oeis4.)