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!)
A340353 a(n) is the least nonnegative integer value of n^(n+1)/k - (n+1)^n. 1

%I

%S 17,399,7849,22319,3667649,24062143,162261467,24062575399,

%T 2395420006033,3450216222287,3143661612445145,9699097864062431,

%U 160760166535731149,25125784419171337983,11877172892329028459041,13911873927978371193431,32347093457545958193355601,141211970553048451362803599

%N a(n) is the least nonnegative integer value of n^(n+1)/k - (n+1)^n.

%H Robert Israel, <a href="/A340353/b340353.txt">Table of n, a(n) for n = 3..149</a>

%e For n = 6, the greatest divisor k of 6^7 such that (6^7)/k > 7^6 is 2, so a(6) = (6^7)/2-7^6 = 22319.

%p f:= proc(n) local a,b,k;

%p a:= n^(n+1); b:= (n+1)^n;

%p k:= max(select(t -> a/t >= b, numtheory:-divisors(a)));

%p a/k-b

%p end proc:

%p map(f, [$3..30]);

%K nonn

%O 3,1

%A _J. M. Bergot_ and _Robert Israel_, Jan 05 2021

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 25 18:27 EDT 2022. Contains 356986 sequences. (Running on oeis4.)