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.
%I A125837 #27 May 20 2023 19:22:37 %S A125837 0,6,54,438,3510,28086,224694,1797558,14380470,115043766,920350134, %T A125837 7362801078,58902408630,471219269046,3769754152374,30158033218998, %U A125837 241264265751990,1930114126015926,15440913008127414,123527304065019318,988218432520154550,7905747460161236406 %N A125837 Numbers whose base 8 or octal representation is 6666666......6. %H A125837 G. C. Greubel, <a href="/A125837/b125837.txt">Table of n, a(n) for n = 1..1000</a> %H A125837 <a href="/index/Rec#order_02">Index entries for linear recurrences with constant coefficients</a>, signature (9,-8). %F A125837 a(n) = 6*(8^(n-1) -1)/7 = 6*A023001(n-1). %F A125837 a(n) = 8*a(n-1) + 6 for n>1, a(1)=0. - _Vincenzo Librandi_, Oct 03 2010 %F A125837 G.f.: 6*x^2/( (1-x)*(1-8*x) ). - _R. J. Mathar_, Oct 07 2016 %F A125837 E.g.f.: 6*(exp(8*x) - exp(x))/7. - _G. C. Greubel_, Aug 03 2019 %F A125837 a(n) = -1 + A083068(n-1). - _Alois P. Heinz_, May 20 2023 %p A125837 seq(6*(8^n-1)/7, n=0..30); %t A125837 FromDigits[#,8]&/@Table[Table[6,{i}],{i,0,30}] (* _Harvey P. Dale_, Mar 19 2011 *) %t A125837 6*(8^(Range[30]-1) -1)/7 (* _G. C. Greubel_, Aug 03 2019 *) %o A125837 (PARI) vector(30, n, 6*(8^(n-1)-1)/7) \\ _G. C. Greubel_, Aug 03 2019 %o A125837 (Magma) [6*(8^(n-1)-1)/7: n in [1..30]]; // _G. C. Greubel_, Aug 03 2019 %o A125837 (Sage) [6*(8^(n-1)-1)/7 for n in (1..30)] # _G. C. Greubel_, Aug 03 2019 %o A125837 (GAP) List([1..30], n-> 6*(8^(n-1)-1)/7); # _G. C. Greubel_, Aug 03 2019 %Y A125837 Cf. A001018, A023001, A024088, A083068. %K A125837 nonn,easy,base %O A125837 1,2 %A A125837 _Zerinvary Lajos_, Feb 03 2007