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!)
A102640 Compute the greatest prime factors (GPFs, A006530()) of j + 2^n for j = 0, 1, ..., L. a(n) is the maximal length L of such a sequence in which the greatest prime factors are increasing with increasing j. 4
2, 2, 4, 2, 3, 2, 2, 2, 3, 2, 2, 4, 2, 3, 2, 2, 3, 4, 2, 3, 3, 6, 2, 3, 2, 4, 2, 2, 3, 4, 2, 3, 3, 2, 2, 4, 2, 4, 2, 2, 2, 4, 2, 3, 4, 4, 2, 4, 2, 3, 3, 2, 2, 3, 2, 2, 3, 2, 2, 2, 2, 3, 2, 2, 3, 4, 2, 3, 4, 4, 2, 4, 2, 3, 2, 2, 4, 4, 2, 3, 3, 4, 2, 2, 2, 3, 2, 4, 2, 3, 2, 2, 3, 2, 2, 2, 3, 4, 2, 4, 2, 3, 2, 2, 3 (list; graph; refs; listen; history; text; internal format)
OFFSET
1,1
COMMENTS
A006530(2^n)=2 is a local minimum. Going either upward or downward with the argument, the greatest prime factors are increasing for a while.
LINKS
EXAMPLE
For n = 12: 2^10 = 4096. The greatest prime factors of 4096, 4097, 4098, 4099 are as follows: {2, 241, 683, 4099}. A006530(4100) = 41 is already smaller than A006530(4099). Thus the length of increasing GPF sequence is 4 = a(12).
MATHEMATICA
With[{nn = 12}, Table[Function[k, 1 + LengthWhile[#, # > 0 &] &@ Differences@ Array[FactorInteger[#][[-1, 1]] &, nn, k]][2^n], {n, 105}]] (* Michael De Vlieger, Jul 24 2017 *)
CROSSREFS
Sequence in context: A113334 A127796 A131287 * A332581 A328059 A123674
KEYWORD
nonn
AUTHOR
Labos Elemer, Jan 21 2005
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 08:56 EDT 2024. Contains 371934 sequences. (Running on oeis4.)