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!)
A341760 Least k > 1 such that (n^k+k)/(n+k) is an integer. 4
2, 2, 7, 3, 2, 3, 4, 5, 5, 3, 5, 5, 7, 11, 7, 5, 4, 7, 16, 5, 15, 3, 4, 9, 22, 5, 13, 6, 8, 7, 19, 7, 9, 11, 5, 5, 6, 19, 13, 9, 12, 7, 9, 5, 11, 10, 23, 5, 4, 7, 7, 9, 13, 19, 21, 5, 7, 13, 29, 9, 5, 4, 19, 9, 8, 7, 12, 10, 17, 7, 17, 6, 13, 5, 31, 5, 9, 7, 8, 7, 25, 9, 41, 15, 21, 10, 19, 9, 28, 11, 15 (list; graph; refs; listen; history; text; internal format)
OFFSET
0,1
LINKS
MATHEMATICA
a[n_] := Module[{k = 2}, While[! Divisible[n^k + k, n + k], k++]; k]; Array[a, 100, 0] (* Amiram Eldar, Jun 04 2021 *)
PROG
(PARI) a(n) = my(k=2); while((n^k+k)%(n+k)!=0, k++); k;
CROSSREFS
Sequence in context: A218756 A317329 A235709 * A342453 A370393 A077218
KEYWORD
nonn
AUTHOR
Seiichi Manyama, Jun 04 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 25 13:12 EDT 2024. Contains 371969 sequences. (Running on oeis4.)