cp's OEIS Frontend

This is a front-end for the Online Encyclopedia of Integer Sequences, made by Christian Perfect. The idea is to provide OEIS entries in non-ancient HTML, and then to think about how they're presented visually. The source code is on GitHub.

A017959 Powers of sqrt(18) rounded to nearest integer.

This page as a plain text file.
%I A017959 #20 Sep 08 2022 08:44:43
%S A017959 1,4,18,76,324,1375,5832,24743,104976,445375,1889568,8016758,34012224,
%T A017959 144301645,612220032,2597429617,11019960576,46753733110,198359290368,
%U A017959 841567195983,3570467226624,15148209527701
%N A017959 Powers of sqrt(18) rounded to nearest integer.
%H A017959 Vincenzo Librandi, <a href="/A017959/b017959.txt">Table of n, a(n) for n = 0..1000</a>
%p A017959 Digits:=1500: A017959:=n->round(sqrt(18)^n): seq(A017959(n), n=0..30); # _Wesley Ivan Hurt_, Apr 18 2017
%t A017959 Floor[(Sqrt[18])^Range[0,25]+1/2] (* _Vincenzo Librandi_, Nov 20 2011 *)
%o A017959 (PARI) a(n)=round(sqrt(18)^n) \\ _Charles R Greathouse IV_, Nov 18 2011
%o A017959 (Magma) [Round(Sqrt(18)^n): n in [0..30]]; // _Vincenzo Librandi_, Nov 20 2011
%Y A017959 Cf. A010474, A001027 (bisection).
%K A017959 nonn,easy
%O A017959 0,2
%A A017959 _N. J. A. Sloane_