|
|
A172326
|
|
a(n) = floor(n*(sqrt(7) + sqrt(2))).
|
|
1
|
|
|
0, 4, 8, 12, 16, 20, 24, 28, 32, 36, 40, 44, 48, 52, 56, 60, 64, 69, 73, 77, 81, 85, 89, 93, 97, 101, 105, 109, 113, 117, 121, 125, 129, 133, 138, 142, 146, 150, 154, 158, 162, 166, 170, 174, 178, 182, 186, 190, 194, 198, 202
(list;
graph;
refs;
listen;
history;
text;
internal format)
|
|
|
OFFSET
|
0,2
|
|
COMMENTS
|
Also integer part of n*4.0599648734..., where the constant is the largest root of x^4 - 18*x^2 + 25.
|
|
LINKS
|
|
|
MAPLE
|
a:=n->floor(n*(sqrt(7)+sqrt(2))): seq(a(n), n=0..60); # Muniru A Asiru, Sep 28 2018
|
|
MATHEMATICA
|
With[{c = Sqrt[7] + Sqrt[2]}, Floor[c Range[0, 60]]] (* Harvey P. Dale, Mar 23 2011 *)
|
|
PROG
|
(Magma) [Floor(n*(Sqrt(7)+Sqrt(2))): n in [0..60]];
(PARI) vector(60, n, n--; floor(n*(sqrt(7)+sqrt(2)))) \\ G. C. Greubel, Sep 28 2018
|
|
CROSSREFS
|
|
|
KEYWORD
|
nonn,easy,less
|
|
AUTHOR
|
|
|
STATUS
|
approved
|
|
|
|