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.

A076595 First occurrence of n as a term in the continued fraction for the cube root of 2.

This page as a plain text file.
%I A076595 #14 Apr 24 2025 10:49:40
%S A076595 1,15,2,7,4,64,56,10,59,14,148,18,117,12,32,638,578,112,229,371,218,
%T A076595 91,878,2209,139,108,182,975,484,314,859,1977,454,597,1016,205,1425,
%U A076595 136,315,4201,51,3661,1009,143,2188,3532,381,550,151,786,2815,1444,654
%N A076595 First occurrence of n as a term in the continued fraction for the cube root of 2.
%t A076595 With[{cf=ContinuedFraction[Surd[2,3],4500]},Flatten[Table[Position[cf,n,{1},1],{n,60}]]] (* _Harvey P. Dale_, Jul 01 2015 *)
%o A076595 (PARI) default(realprecision, 1500); v=contfrac(2^(1/3)); a(n)=if(n<0,0,s=1; while(abs(n-component(v,s))>0,s++); s)
%Y A076595 Cf. A002945, A032523.
%K A076595 base,nonn
%O A076595 1,2
%A A076595 _Benoit Cloitre_, Oct 20 2002