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.

A004570 Expansion of sqrt(7) in base 3.

This page as a plain text file.
%I A004570 #16 Sep 08 2022 08:44:33
%S A004570 2,1,2,2,1,0,2,2,0,2,0,2,2,2,0,1,1,1,1,2,0,1,0,0,0,2,2,2,0,1,2,1,0,1,
%T A004570 2,0,1,2,1,2,2,0,0,0,0,0,0,2,0,1,1,1,2,1,1,0,1,0,1,2,0,2,2,1,2,2,0,2,
%U A004570 0,0,0,2,0,1,1,1,0,0,2,1,2,1,1,1,1,1,1,2,1,0,1,2,2,2,2,1,2,2,1
%N A004570 Expansion of sqrt(7) in base 3.
%H A004570 G. C. Greubel, <a href="/A004570/b004570.txt">Table of n, a(n) for n = 1..10000</a>
%H A004570 Jason Kimberley, <a href="/wiki/User:Jason_Kimberley/sqrt_base">Index of expansions of sqrt(d) in base b</a>
%t A004570 RealDigits[Sqrt[7],3,120][[1]] (* _Harvey P. Dale_, May 02 2012 *)
%o A004570 (Magma) d:= 7; m:=3; Prune(Reverse(IntegerToSequence(Isqrt(d*m^100), m))); // _G. C. Greubel_, Mar 25 2018
%Y A004570 Cf. A010465.
%K A004570 nonn,base,cons
%O A004570 1,1
%A A004570 _N. J. A. Sloane_