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 A094028 #71 Mar 06 2025 14:50:52 %S A094028 1,101,10101,1010101,101010101,10101010101,1010101010101, %T A094028 101010101010101,10101010101010101,1010101010101010101, %U A094028 101010101010101010101,10101010101010101010101,1010101010101010101010101,101010101010101010101010101,10101010101010101010101010101 %N A094028 Expansion of 1/((1-x)*(1-100*x)). %C A094028 Regarded as binary numbers and converted to decimal, these become 1,5,21,85,... the partial sums of 4^n (see A002450). %C A094028 Partial sums of 100^n. %C A094028 Odd terms of A056830. - _Alexandre Wajnberg_, May 31 2005 %C A094028 101 is the only term that is prime, since (100^k-1)/99 = (10^k+1)/11 * (10^k-1)/9. When k is odd and not 1, (10^k+1)/11 is an integer > 1 and thus (100^k-1)/99 is nonprime. When k is even and greater than 2, (100^k-1)/99 has the prime factor 101 and is nonprime. - _Felix Fröhlich_, Oct 17 2015 %C A094028 Previous comment is the answer to the problem A1 proposed during the 50th Putnam Competition in 1989 (link). - _Bernard Schott_, Mar 24 2023 %D A094028 Clifford A. Pickover, A Passion for Mathematics, Wiley, 2005; see p. 60. %D A094028 Stephen Wolfram, A New Kind of Science, Wolfram Media, 2002; p. 55. %H A094028 Robert Price, <a href="/A094028/b094028.txt">Table of n, a(n) for n = 0..999</a> %H A094028 Kiran S. Kedlaya, <a href="http://kskedlaya.org/putnam-archive/1989.pdf">The 50th William Lowell Putnam Mathematical Competition</a>, Problem A1, Dec 02 1989. %H A094028 J. V. Leyendekkers and A.G. Shannon, <a href="http://www.nntdm.net/papers/nntdm-17/NNTDM-17-2-47-51.pdf">Modular Rings and the Integer 3</a>, Notes on Number Theory & Discrete Mathematics, 17 (2011), pp. 47-51. %H A094028 Robert Price, <a href="/A094028/a094028_1.txt">Comments on A094028 concerning Elementary Cellular Automata</a>, Feb 21 2016. %H A094028 Eric Weisstein's World of Mathematics, <a href="https://mathworld.wolfram.com/ElementaryCellularAutomaton.html">Elementary Cellular Automaton</a>. %H A094028 Stephen Wolfram, <a href="http://wolframscience.com/">A New Kind of Science</a>. %H A094028 <a href="https://oeis.org/wiki/Index_to_Elementary_Cellular_Automata">Index to Elementary Cellular Automata</a>. %H A094028 <a href="/index/Ce#cell">Index entries for sequences related to cellular automata</a>. %H A094028 <a href="/index/Rec#order_02">Index entries for linear recurrences with constant coefficients</a>, signature (101,-100). %H A094028 <a href="/index/O#Olympiads">Index to sequences related to Olympiads and other Mathematical Competitions</a>. %F A094028 G.f.: 1/((1-x)*(1-100*x)). %F A094028 a(n) = 1 + 100*(100^n-1)/99. - _N. J. A. Sloane_, Apr 20 2008 %F A094028 a(n) = 100^(n+1)/99 - 1/99. %F A094028 a(n) = A094027(2*n+1). %F A094028 a(n) = 100*a(n-1) + 1, a(0) = 1. - _Philippe Deléham_, Feb 22 2014 %F A094028 a(n) = 101*a(n-1) - 100*a(n-2) for n > 1. - _Wesley Ivan Hurt_, Oct 17 2015 %F A094028 a(n) = (100^(n+1) - 1)/99. - _Bernard Schott_, Apr 15 2021 %F A094028 E.g.f.: exp(x)*(100*exp(99*x) - 1)/99. - _Elmo R. Oliveira_, Mar 06 2025 %e A094028 From _Omar E. Pol_, Dec 13 2008: (Start) %e A094028 ======================= %e A094028 n ....... a(n) %e A094028 0 ........ 1 %e A094028 1 ....... 101 %e A094028 2 ...... 10101 %e A094028 3 ..... 1010101 %e A094028 4 .... 101010101 %e A094028 5 ... 10101010101 %e A094028 ====================== %e A094028 (End) %p A094028 A094028:=n->1+100*(100^n-1)/99: seq(A094028(n), n=0..15); # _Wesley Ivan Hurt_, Oct 17 2015 %t A094028 CoefficientList[Series[1/((1-x)(1-100x)),{x,0,20}],x] (* or *) Table[ FromDigits[ PadRight[{},2n-1,{1,0}]],{n,20}] (* or *) LinearRecurrence[ {101,-100},{1,101},20] (* or *) NestList[100#+1&,1,20] (* _Harvey P. Dale_, Apr 27 2015 *) %o A094028 (Maxima) A094028(n):=1+100*(100^n-1)/99$ %o A094028 makelist(A094028(n),n,0,30); /* _Martin Ettl_, Nov 06 2012 */ %o A094028 (Magma) [1+100*(100^n-1)/99 : n in [0..15]]; // _Wesley Ivan Hurt_, Oct 17 2015 %o A094028 (PARI) a(n) = 1+100*(100^n-1)/99 \\ _Felix Fröhlich_, Oct 17 2015 %o A094028 (PARI) Vec(1/((1-x)*(1-100*x)) + O(x^100)) \\ _Altug Alkan_, Oct 17 2015 %Y A094028 Bisection of A147759. [_Omar E. Pol_, Nov 13 2008] %Y A094028 Cf. A002450, A056830, A094027. %Y A094028 Cf. similar sequences of the form (k^n-1)/(k-1) listed in A269025. %K A094028 easy,nonn %O A094028 0,2 %A A094028 _Paul Barry_, Apr 22 2004