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!)
A098651 Where A098650 reaches a record. 2
1, 2, 6, 15, 30, 39, 78, 105, 910, 7735, 18655, 98605, 214415, 265031, 283309, 313937, 373395, 432419, 440115, 441285, 497211, 573287, 658502, 1035741, 1198806 (list; graph; refs; listen; history; text; internal format)
OFFSET
1,2
LINKS
MATHEMATICA
PrimeFactors[n_] := Flatten[ Table[ # [[1]], {1} ] & /@ FactorInteger[ n ]]; f[n_] := Block[{k = n + 1}, If[EvenQ[k], k++ ]; While[ PrimeQ[k] || Union[ PowerMod[ PrimeFactors[n], k - 1, k]] != {1}, k += 2]; k]; a = {1}; b = {9}; Do[ If[ SquareFreeQ[n], c = f[n]; If[c > b[[ -1]], AppendTo[a, n]; AppendTo[b, c]; Print[n]]], {n, 2, 145000}]; a
CROSSREFS
Sequence in context: A033286 A182724 A342163 * A087427 A370440 A031126
KEYWORD
nonn,more
AUTHOR
Robert G. Wilson v, Sep 18 2004
EXTENSIONS
a(13)-a(25) from Amiram Eldar, Jul 07 2021
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 20 10:35 EDT 2024. Contains 371827 sequences. (Running on oeis4.)