login
The OEIS is supported by the many generous donors to the OEIS Foundation.

 

Logo
Hints
(Greetings from The On-Line Encyclopedia of Integer Sequences!)
A138281 a(n) = floor((sqrt(2) + sqrt(3))^n). 5
1, 3, 9, 31, 97, 308, 969, 3051, 9601, 30210, 95049, 299052, 940897, 2960313, 9313929, 29304086, 92198401, 290080547, 912670089, 2871501385, 9034502497, 28424933309, 89432354889, 281377831710, 885289046401, 2785353383794, 8763458109129, 27572156006234 (list; graph; refs; listen; history; text; internal format)
OFFSET
0,2
LINKS
FORMULA
a(2*n) = floor(A001079(n) + A001078(n)*sqrt(6));
(sqrt(2) + sqrt(3))^(2*n) = A001079(n) + A001078(n)*sqrt(6);
a(2*n+1) = floor(A054320(n)*sqrt(2) + A138288(n)*sqrt(3));
(sqrt(2)+sqrt(3))^(2*n+1) = A054320(n)*sqrt(2) + A138288(n)*sqrt(3).
MATHEMATICA
Table[Floor[(Sqrt[2] + Sqrt[3])^n], {n, 0, 50}] (* G. C. Greubel, Jan 27 2018 *)
PROG
(PARI) for(n=0, 50, print1(floor((sqrt(2) + sqrt(3))^n), ", ")) \\ G. C. Greubel, Jan 27 2018
(Magma) [Floor((Sqrt(2) + Sqrt(3))^n): n in [0..50]]; // G. C. Greubel, Jan 27 2018
CROSSREFS
Sequence in context: A018370 A183519 A001672 * A049416 A148959 A148960
KEYWORD
nonn
AUTHOR
Reinhard Zumkeller, Mar 12 2008
EXTENSIONS
Terms a(16) and a(18) corrected, terms a(19) onward added by G. C. Greubel, Jan 27 2018
STATUS
approved

Lookup | Welcome | Wiki | Register | Music | Plot 2 | Demos | Index | Browse | More | WebCam
Contribute new seq. or comment | Format | Style Sheet | Transforms | Superseeker | Recents
The OEIS Community | Maintained by The OEIS Foundation Inc.

License Agreements, Terms of Use, Privacy Policy. .

Last modified July 6 06:50 EDT 2024. Contains 374034 sequences. (Running on oeis4.)