

A172338


a(n) = floor(n*(sqrt(5)+sqrt(3))).


15



0, 3, 7, 11, 15, 19, 23, 27, 31, 35, 39, 43, 47, 51, 55, 59, 63, 67, 71, 75, 79, 83, 87, 91, 95, 99, 103, 107, 111, 115, 119, 123, 126, 130, 134, 138, 142, 146, 150, 154, 158, 162, 166, 170, 174, 178, 182, 186, 190, 194, 198, 202, 206, 210, 214, 218
(list;
graph;
refs;
listen;
history;
text;
internal format)



OFFSET

0,2


COMMENTS

sqrt(5)+sqrt(3) = 3.96811878506867... is the largest root of x^4 16*x^2 +4.


LINKS

Vincenzo Librandi, Table of n, a(n) for n = 0..1000


MATHEMATICA

With[{c = Sqrt[5] + Sqrt[3]}, Floor[c Range[0, 60]]] (* Harvey P. Dale, Apr 10 2012 *)


PROG

(MAGMA) [Floor(n*Sqrt(5)+Sqrt(3)): n in [0..60] ];


CROSSREFS

Cf. A110117, A172323A172332, A172334, A172336, A172337.
Sequence in context: A179874 A190349 A103543 * A189787 A004767 A131098
Adjacent sequences: A172335 A172336 A172337 * A172339 A172340 A172341


KEYWORD

nonn,less,easy


AUTHOR

Vincenzo Librandi, Feb 01 2010


STATUS

approved



