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.

A004541 Expansion of sqrt(2) in base 4.

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