cp's OEIS Frontend

This is a front-end for the Online Encyclopedia of Integer Sequences, made by Christian Perfect. The idea is to provide OEIS entries in non-ancient HTML, and then to think about how they're presented visually. The source code is on GitHub.

A215159 a(n) = floor(n^n / (n+1)).

This page as a plain text file.
%I A215159 #16 Aug 16 2022 10:41:01
%S A215159 1,0,1,6,51,520,6665,102942,1864135,38742048,909090909,23775972550,
%T A215159 685853880635,21633936185160,740800455037201,27368368148803710,
%U A215159 1085102592571150095,45957792327018709120,2070863582910344082917,98920982783015679456198
%N A215159 a(n) = floor(n^n / (n+1)).
%C A215159 b(n) = n^n mod (n+1) begins: 0, 1, 1, 3, 1, 5, 1, 7, 1, 9, 1, 11, 1, 13, 1, 15...
%H A215159 G. C. Greubel, <a href="/A215159/b215159.txt">Table of n, a(n) for n = 0..350</a>
%t A215159 Table[If[n==0, 1, Floor[n^n/(n+1)]], {n,0,30}] (* _G. C. Greubel_, Aug 16 2022 *)
%o A215159 (Python)
%o A215159 for n in range(55):
%o A215159     print(n**n // (n+1), end=",")
%o A215159 (Magma) [Floor(n^n/(n+1)): n in [0..30]]; // _G. C. Greubel_, Aug 16 2022
%o A215159 (SageMath) [(n^n//(n+1)) for n in (0..30)] # _G. C. Greubel_, Aug 16 2022
%Y A215159 Cf. A060072 is essentially floor((n+1)^n / n).
%Y A215159 Cf. A173499 is  equal to   floor((n-1)^n / n).
%Y A215159 Cf. A023037 is essentially floor((n+1)^(n+1) / n).
%K A215159 nonn,easy
%O A215159 0,4
%A A215159 _Alex Ratushnyak_, Aug 04 2012