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.

A033175 n 3's followed by 1.

This page as a plain text file.
%I A033175 #44 Apr 30 2025 09:16:18
%S A033175 1,31,331,3331,33331,333331,3333331,33333331,333333331,3333333331,
%T A033175 33333333331,333333333331,3333333333331,33333333333331,
%U A033175 333333333333331,3333333333333331,33333333333333331,333333333333333331,3333333333333333331,33333333333333333331,333333333333333333331
%N A033175 n 3's followed by 1.
%D A033175 F. Smarandache, Properties of numbers, University of Craiova, 1973.
%H A033175 Muniru A Asiru, <a href="/A033175/b033175.txt">Table of n, a(n) for n = 0..990</a>
%H A033175 Eric Weisstein's World of Mathematics, <a href="https://mathworld.wolfram.com/3.html">3</a>.
%H A033175 <a href="/index/Rec#order_02">Index entries for linear recurrences with constant coefficients</a>, signature (11,-10).
%F A033175 a(n) = (10^(n+1) - 7)/3.
%F A033175 a(n) = 10*a(n-1) + 21 (with a(0)=1). - _Vincenzo Librandi_, Nov 17 2010
%F A033175 G.f.: (1+20*x)/((10*x-1)*(x-1)). - _R. J. Mathar_, Aug 24 2011
%F A033175 From _Elmo R. Oliveira_, Apr 29 2025: (Start)
%F A033175 E.g.f.: exp(x)*(10*exp(9*x) - 7)/3.
%F A033175 a(n) = 11*a(n-1) - 10*a(n-2). (End)
%t A033175 Table[FromDigits[PadLeft[{1},n,3]],{n,20}] (* _Harvey P. Dale_, Feb 21 2013 *)
%o A033175 (PARI) a(n)=(10^(n+1)-7)/3 \\ _Charles R Greathouse IV_, Oct 07 2015
%o A033175 (GAP) List([0..20],n->(10^(n+1)-7)/3); # _Muniru A Asiru_, Oct 31 2018
%o A033175 (Python)
%o A033175 def a(n): return int('3'*n + '1')
%o A033175 print([a(n) for n in range(20)]) # _Michael S. Branicky_, Jan 31 2021
%Y A033175 Cf. A051200.
%K A033175 nonn,base,easy
%O A033175 0,2
%A A033175 Jan Jensen (dorul(AT)post6.tele.dk)