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.

A093847 First column of triangle A093846.

This page as a plain text file.
%I A093847 #18 Sep 08 2022 08:45:13
%S A093847 9,54,399,3249,27999,249999,2285713,21249999,199999999,1899999999,
%T A093847 18181818180,174999999999,1692307692306,16428571428570,
%U A093847 159999999999999,1562499999999999,15294117647058822,149999999999999999
%N A093847 First column of triangle A093846.
%H A093847 G. C. Greubel, <a href="/A093847/b093847.txt">Table of n, a(n) for n = 1..995</a>
%F A093847 a(n) = 10^(n-1) - 1 + floor(9*10^(n-1)/n) = A093846(n, 1). - _R. J. Mathar_, Jun 23 2006
%p A093847 A093847 := proc(n) RETURN (10^(n-1)-1+floor(9*(10^(n-1)/n))); end; for n from 1 to 20 do printf("%d,",A093847(n)); od; # _R. J. Mathar_, Jun 23 2006
%t A093847 Table[10^(n-1)-1+Floor[9 10^(n-1)/n],{n,20}] (* _Harvey P. Dale_, Oct 21 2011 *)
%o A093847 (PARI) {a(n) = 10^(n-1) -1 +floor(9*10^(n-1)/n)}; \\ _G. C. Greubel_, Mar 22 2019
%o A093847 (Magma) [10^(n-1) -1 +Floor(9*10^(n-1)/n): n in [1..20]]; // _G. C. Greubel_, Mar 22 2019
%o A093847 (Sage) [10^(n-1) -1 +floor(9*10^(n-1)/n) for n in (1..20)] # _G. C. Greubel_, Mar 22 2019
%Y A093847 Cf. A093846.
%K A093847 base,easy,nonn
%O A093847 1,1
%A A093847 _Amarnath Murthy_, Apr 18 2004
%E A093847 More terms from _R. J. Mathar_, Jun 23 2006
%E A093847 Edited by _David Wasserman_, Mar 26 2007