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!)
A360780 Least refactorable number > n. 0
1, 2, 8, 8, 8, 8, 8, 8, 9, 12, 12, 12, 18, 18, 18, 18, 18, 18, 24, 24, 24, 24, 24, 24, 36, 36, 36, 36, 36, 36, 36, 36, 36, 36, 36, 36, 40, 40, 40, 40, 56, 56, 56, 56, 56, 56, 56, 56, 56, 56, 56, 56, 56, 56, 56, 56, 60, 60, 60, 60, 72, 72, 72, 72, 72, 72, 72, 72, 72 (list; graph; refs; listen; history; text; internal format)
OFFSET
0,2
COMMENTS
"next refactorable number" function.
LINKS
EXAMPLE
a(0) = 1 because the least refactorable number > 0 is 1.
a(1) = 2 because the least refactorable number > 1 is 2.
a(2) = 8 because the least refactorable number > 2 is 8.
MATHEMATICA
a[n_] := Module[{m = n + 1}, While[! Divisible[m, DivisorSigma[0, m]], m++]; m]; a[0] = 1; Array[a, 100, 0] (* Amiram Eldar, Feb 20 2023 *)
PROG
(PARI) a(n) = my(k=n+1); while (k % numdiv(k), k++); k; \\ Michel Marcus, Feb 20 2023
CROSSREFS
Cf. A033950.
Sequence in context: A256849 A138300 A137575 * A183393 A284781 A289841
KEYWORD
nonn
AUTHOR
Ctibor O. Zizka, Feb 20 2023
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 September 1 22:05 EDT 2024. Contains 375597 sequences. (Running on oeis4.)