A269020 a(n) = ceiling(n^(1+1/n)).
1, 3, 5, 6, 7, 9, 10, 11, 12, 13, 14, 15, 16, 17, 18, 20, 21, 22, 23, 24, 25, 26, 27, 28, 29, 30, 31, 32, 33, 34, 35, 36, 37, 38, 39, 40, 41, 42, 43, 44, 45, 46, 47, 48, 49, 50, 52, 53, 54, 55, 56, 57, 58, 59, 60, 61, 62, 63, 64, 65, 66, 67, 68, 69, 70
Offset: 1
Examples
a(5)=7 because 5^(6/5) ~ 6.8986; a(6)=9 because 6^(7/6) ~ 8.088.
Programs
-
Magma
[Ceiling(n^(1+1/n)): n in [1..70]]; // Vincenzo Librandi, Feb 18 2016
-
Mathematica
Table[Ceiling[n^(1 + 1 / n)], {n, 100}] (* Vincenzo Librandi, Feb 18 2016 *)
-
Python
from sympy import integer_nthroot def A269020(n): a, b = integer_nthroot(n**(n+1),n) return a+(b^1) # Chai Wah Wu, Sep 04 2024
Formula
a(n) = A059921(n) + 1, n>=2.
Comments