OFFSET
0,1
LINKS
Seiichi Manyama, Table of n, a(n) for n = 0..10000
FORMULA
a(n) <= n-2 for all n > 3.
MATHEMATICA
a[n_] := Module[{k = 2}, While[! Divisible[n^3 + k, n + k], k++]; k]; Array[a, 100, 0] (* Amiram Eldar, Jun 04 2021 *)
PROG
(PARI) a(n) = my(k=2); while((n^3+k)%(n+k)!=0, k++); k;
CROSSREFS
KEYWORD
nonn
AUTHOR
Seiichi Manyama, Jun 04 2021
STATUS
approved