login
Floor(n*(sqrt(5)+sqrt(2))).
17

%I #11 Sep 08 2022 08:45:50

%S 0,3,7,10,14,18,21,25,29,32,36,40,43,47,51,54,58,62,65,69,73,76,80,83,

%T 87,91,94,98,102,105,109,113,116,120,124,127,131,135,138,142,146,149,

%U 153,156,160,164,167,171,175,178,182,186,189,193,197,200,204,208,211

%N Floor(n*(sqrt(5)+sqrt(2))).

%H Vincenzo Librandi, <a href="/A172323/b172323.txt">Table of n, a(n) for n = 0..1000</a>

%t With[{c=Sqrt[5]+Sqrt[2]},Floor[c*Range[0,60]]] (* _Harvey P. Dale_, Sep 03 2012 *)

%o (Magma) [Floor(n*(Sqrt(5)+Sqrt(2))): n in [0..60]];

%K nonn,less

%O 0,2

%A _Vincenzo Librandi_, Feb 01 2010