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.

Previous Showing 11-13 of 13 results.

A178634 a(n) = 63*((10^n - 1)/9)^2.

Original entry on oeis.org

63, 7623, 776223, 77762223, 7777622223, 777776222223, 77777762222223, 7777777622222223, 777777776222222223, 77777777762222222223, 7777777777622222222223, 777777777776222222222223, 77777777777762222222222223, 7777777777777622222222222223, 777777777777776222222222222223
Offset: 1

Views

Author

Reinhard Zumkeller, May 31 2010

Keywords

Examples

			n=1: ..................... 63 = 9 * 7;
n=2: ................... 7623 = 99 * 77;
n=3: ................. 776223 = 999 * 777;
n=4: ............... 77762223 = 9999 * 7777;
n=5: ............. 7777622223 = 99999 * 77777;
n=6: ........... 777776222223 = 999999 * 777777;
n=7: ......... 77777762222223 = 9999999 * 7777777;
n=8: ....... 7777777622222223 = 99999999 * 77777777;
n=9: ..... 777777776222222223 = 999999999 * 777777777.
		

References

  • Albert H. Beiler, Recreations in the theory of numbers, New York, Dover, (2nd ed.) 1966. See Table 33 at p. 62.
  • Walther Lietzmann, Lustiges und Merkwuerdiges von Zahlen und Formen, (F. Hirt, Breslau 1921-43), p. 149.

Crossrefs

Programs

  • GAP
    List([1..20], n -> 63*((10^n - 1)/9)^2); # G. C. Greubel, Jan 28 2019
  • Magma
    [63*((10^n - 1)/9)^2: n in [1..20]]; // Vincenzo Librandi, Dec 28 2010
    
  • Mathematica
    63((10^Range[15]-1)/9)^2 (* or *) Table[FromDigits[Join[PadRight[{},n,7],{6},PadRight[{},n,2],{3}]],{n,0,15}] (* Harvey P. Dale, Apr 23 2012 *)
  • PARI
    a(n)=63*(10^n\9)^2 \\ Charles R Greathouse IV, Jul 02 2013
    
  • Sage
    [63*((10^n - 1)/9)^2 for n in (1..20)] # G. C. Greubel, Jan 28 2019
    

Formula

a(n) = 63*A002477(n) = A002283(n)*A002281(n).
a(n) = ((A002281(n-1)*10 + 6)*10^(n-1) + A002276(n-1))*10 + 3.
G.f.: 63*x*(1 + 10*x)/((1 - x)*(1 - 10*x)*(1 - 100*x)). - Ilya Gutkovskiy, Feb 24 2017
E.g.f.: 7*exp(x)*(1 - 2*exp(9*x) + exp(99*x))/9. - Stefano Spezia, Jul 31 2024
a(n) = 111*a(n-1) - 1110*a(n-2) + 1000*a(n-3) for n > 3. - Elmo R. Oliveira, Aug 01 2025

A178635 a(n) = 72*((10^n - 1)/9)^2.

Original entry on oeis.org

72, 8712, 887112, 88871112, 8888711112, 888887111112, 88888871111112, 8888888711111112, 888888887111111112, 88888888871111111112, 8888888888711111111112, 888888888887111111111112, 88888888888871111111111112, 8888888888888711111111111112, 888888888888887111111111111112
Offset: 1

Views

Author

Reinhard Zumkeller, May 31 2010

Keywords

Examples

			n=1: ..................... 72 = 9 * 8;
n=2: ................... 8712 = 99 * 88;
n=3: ................. 887112 = 999 * 888;
n=4: ............... 88871112 = 9999 * 8888;
n=5: ............. 8888711112 = 99999 * 88888;
n=6: ........... 888887111112 = 999999 * 888888;
n=7: ......... 88888871111112 = 9999999 * 8888888;
n=8: ....... 8888888711111112 = 99999999 * 88888888;
n=9: ..... 888888887111111112 = 999999999 * 888888888.
		

References

  • Walther Lietzmann, Lustiges und Merkwuerdiges von Zahlen und Formen, (F. Hirt, Breslau 1921-43), p. 149.

Crossrefs

Programs

Formula

a(n) = 72*A002477(n) = A002283(n)*A002282(n).
a(n) = ((A002282(n-1)*10 + 7)*10^(n-1) + A002275(n-1))*10 + 2.
G.f.: 72*x*(1 + 10*x)/((1 - x)*(1 - 10*x)*(1 - 100*x)). - Ilya Gutkovskiy, Feb 24 2017
From Elmo R. Oliveira, Aug 01 2025: (Start)
E.g.f.: 8*exp(x)*(1 - 2*exp(9*x) + exp(99*x))/9.
a(n) = 111*a(n-1) - 1110*a(n-2) + 1000*a(n-3) for n > 3. (End)

A271528 a(n) = 2*(10^n - 1)^2/27.

Original entry on oeis.org

0, 6, 726, 73926, 7405926, 740725926, 74073925926, 7407405925926, 740740725925926, 74074073925925926, 7407407405925925926, 740740740725925925926, 74074074073925925925926, 7407407407405925925925926, 740740740740725925925925926, 74074074074073925925925925926
Offset: 0

Views

Author

Ilya Gutkovskiy, Apr 09 2016

Keywords

Comments

All terms are multiple of 6.
Converges in a 10-adic sense to ...925925925926.
A transformation of the Wonderful Demlo numbers (A002477).
More generally, the ordinary generating function for the transformation of the Wonderful Demlo numbers, is k*x*(1 + 10*x)/(1 - 111*x + 1110*x^2 - 1000*x^3).

Examples

			n=1:                  6 = 2 * 3;
n=2:                726 = 22 * 33;
n=3:              73926 = 222 * 333;
n=4:            7405926 = 2222 * 3333;
n=5:          740725926 = 22222 * 33333;
n=6:        74073925926 = 222222 * 333333;
n=7:      7407405925926 = 2222222 * 3333333;
n=8:    740740725925926 = 22222222 * 33333333;
n=9:  74074073925925926 = 222222222 * 333333333, etc.
		

Crossrefs

Cf. similar sequences of the form k*((10^n - 1)/9)^2: A075411 (k=4), this sequence (k=6), A075412 (k=9), A075413 (k=16), A178630 (k=18), A075414 (k=25), A178631 (k=27), A075415 (k=36), A178632 (k=45), A075416 (k=49), A178633 (k=54), A178634 (k=63), A075417 (k=64), A178635 (k=72), A059988 (k=81).

Programs

  • Mathematica
    Table[2 ((10^n - 1)^2/27), {n, 0, 15}]
    LinearRecurrence[{111, -1110, 1000}, {0, 6, 726}, 16]
  • PARI
    x='x+O('x^99); concat(0, Vec(6*x*(1+10*x)/(1-111*x+1110*x^2-1000*x^3))) \\ Altug Alkan, Apr 09 2016
    
  • Python
    for n in range(0,10**1):print((int)((2*(10**n-1)**2)/27))
    # Soumil Mandal, Apr 10 2016

Formula

O.g.f.: 6*x*(1 + 10*x)/(1 - 111*x + 1110*x^2 - 1000*x^3).
E.g.f.: 2 (exp(x) - 2*exp(10*x) + exp(100*x))/27.
a(n) = 111*a(n-1) - 1110*a(n-2) + 1000*a(n-3).
a(n) = 6*A002477(n) = 6*A002275(n)^2 = A002276(n)*A002277(n) = sqrt(A075411(n)*A075412(n)).
Sum_{n>=1} 1/a(n) = 0.1680577405662077350849154881928636039793563...
Lim_{n -> infinity} a(n + 1)/a(n) = 100.
Previous Showing 11-13 of 13 results.