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!)
A060375 a(n) = (n+2)^(n+3) - n^(n+1). 1

%I #18 Oct 07 2023 19:09:13

%S 8,80,1016,15544,278912,5749176,133937792,3481019600,99865782272,

%T 3134941592320,106893205379072,3934237957322568,155461102352433152,

%U 6564470979327191336,294992337083795013632,14056516043712012100384

%N a(n) = (n+2)^(n+3) - n^(n+1).

%C a(n) is divisible by 8. 2^(3+4k) divides a(4k) and a(4k+2). 8k divides a(4k-1). 4(4k+2) divides a(4k+1). - _Alexander Adamchuk_, Nov 18 2006

%H Harry J. Smith, <a href="/A060375/b060375.txt">Table of n, a(n) for n = 0..100</a>

%F a(n) = A007778(n+2) - A007778(n). - _Alexander Adamchuk_, Nov 18 2006

%e a(1) = |0^1 - 2^3| = 8, a(2) = |1^2 - 3^4| = 80.

%t Table[(-n^(n+1)+(n+2)^(n+3)),{n,0,18}] (* _Alexander Adamchuk_, Nov 18 2006 *)

%t #[[3]]^#[[4]]-#[[1]]^#[[2]]&/@Partition[Range[0,20],4,1] (* _Harvey P. Dale_, Oct 07 2023 *)

%o (PARI) { for (n=0, 100, write("b060375.txt", n, " ", (n + 2)^(n + 3) - n^(n + 1)); ) } \\ _Harry J. Smith_, Jul 04 2009

%Y Cf. A007778 (n^(n+1)).

%K nonn

%O 0,1

%A _Jason Earls_, Apr 02 2001

%E More terms from Larry Reeves (larryr(AT)acm.org), Apr 20 2001

%E Better description from _Alexander Adamchuk_, Nov 18 2006

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 08:27 EDT 2024. Contains 371964 sequences. (Running on oeis4.)