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!)
A066487 a(n) = min( x : x^4 + n^4 = 0 mod (x+n-1) ). 1
1, 16, 95, 334, 877, 12, 3691, 66, 10649, 16552, 31, 6, 49285, 66964, 89027, 2, 149041, 216, 13823, 22, 93, 20, 30219, 170, 113, 847576, 988391, 1146070, 77733, 948, 11, 1972066, 131409, 2522224, 2836927, 187038, 3553741, 3959260, 4398539, 286634, 5385721, 48, 2351 (list; graph; refs; listen; history; text; internal format)
OFFSET
1,2
COMMENTS
From Robert Israel, Feb 13 2019: (Start)
a(n)+n-1 is the least divisor of (n-1)^4 + n^4 that is not less than n.
In particular, a(n) = (n-1)^4 + n^4 - n + 1 if (n-1)^4 + n^4 is prime, i.e. if n-1 is in A155211; otherwise a(n) <= ((n-1)^4 + n^4)/17 - n + 1 (because the least prime that can divide (n-1)^4 + n^4 is 17). (End)
LINKS
MAPLE
f:= proc(n) min(select(`>=`, numtheory:-divisors((n-1)^4+n^4), n))-n+1 end proc:
map(f, [$1..100]); # Robert Israel, Feb 13 2019
MATHEMATICA
a[n_] := For[x = 1, True, x++, If[Mod[x^4 + n^4, x + n - 1] == 0, Return[x]]]; Array[a, 30] (* Jean-François Alcover, Feb 17 2018 *)
PROG
(PARI) a(n) = {my(k=1); while((k^4+n^4)%(k+n-1) != 0, k++); k; } \\ Altug Alkan, Feb 17 2018
CROSSREFS
Sequence in context: A317150 A317608 A159245 * A318021 A333511 A320406
KEYWORD
nonn,look
AUTHOR
Benoit Cloitre, Jan 02 2002
EXTENSIONS
More terms from Jean-François Alcover, Feb 17 2018
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 May 7 00:25 EDT 2024. Contains 372298 sequences. (Running on oeis4.)