login
a(n) is the integer nearest to the result of raising n to the power of the fraction that is the natural logarithm of n over the natural logarithm of the golden ratio.
0

%I #32 May 04 2023 20:37:42

%S 1,3,12,54,218,790,2614,7989,22756,60950,154631,373880,866019,1930121,

%T 4154593,8664718,17557769,34651632,66747915,125725045,231949573,

%U 419750808,746081780,1304039046,2243705012,3803904385,6360060015,10495565911,17107197521

%N a(n) is the integer nearest to the result of raising n to the power of the fraction that is the natural logarithm of n over the natural logarithm of the golden ratio.

%F a(n) = round(n^(log(n)/log(phi))).

%o (JavaScript)

%o var listy = [];

%o for (var i = 1; i < 30; i++) {

%o var u = Math.round(Math.pow(i, Math.log(i)/Math.log(((Math.sqrt(5)+1)/2))));

%o appendItem(listy,u);

%o }

%o console.log(listy);

%o (PARI) vector(30, n, round(n^(log(n)/log((sqrt(5) + 1)/2)))) \\ _Andrew Howroyd_, Nov 02 2019

%Y Cf. A001622.

%K nonn

%O 1,2

%A _Sebastian F. Orellana_, Nov 02 2019