login
A172324
Floor(n*(sqrt(7)+sqrt(5))).
1
0, 4, 9, 14, 19, 24, 29, 34, 39, 43, 48, 53, 58, 63, 68, 73, 78, 82, 87, 92, 97, 102, 107, 112, 117, 122, 126, 131, 136, 141, 146, 151, 156, 161, 165, 170, 175, 180, 185, 190, 195, 200, 205, 209, 214, 219, 224, 229, 234, 239, 244, 248, 253, 258, 263, 268, 273
OFFSET
0,2
COMMENTS
a(n) = integer part of n*(sqrt(7)+sqrt(5)), where the constant is the largest root of x^4 -24*x^2 +4.
LINKS
MATHEMATICA
With[{c = Sqrt[7] + Sqrt[5]}, Floor[c Range[0, 70]]] (* Vincenzo Librandi, Aug 01 2013 *)
PROG
(Magma) [Floor(n*(Sqrt(7)+Sqrt(5))): n in [0..60]];
KEYWORD
nonn,easy,less
AUTHOR
Vincenzo Librandi, Feb 01 2010
STATUS
approved