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.

Showing 1-10 of 10 results.

A014445 Even Fibonacci numbers; or, Fibonacci(3*n).

Original entry on oeis.org

0, 2, 8, 34, 144, 610, 2584, 10946, 46368, 196418, 832040, 3524578, 14930352, 63245986, 267914296, 1134903170, 4807526976, 20365011074, 86267571272, 365435296162, 1548008755920, 6557470319842, 27777890035288, 117669030460994, 498454011879264, 2111485077978050
Offset: 0

Views

Author

Keywords

Comments

a(n) = 3^n*b(n;2/3) = -b(n;-2), but we have 3^n*a(n;2/3) = F(3n+1) = A033887 and a(n;-2) = F(3n-1) = A015448, where a(n;d) and b(n;d), n=0,1,...,d, denote the so-called delta-Fibonacci numbers (the argument "d" of a(n;d) and b(n;d) is abbreviation of the symbol "delta") defined by the following equivalent relations: (1 + d*((sqrt(5) - 1)/2))^n = a(n;d) + b(n;d)*((sqrt(5) - 1)/2) equiv. a(0;d)=1, b(0;d)=0, a(n+1;d) = a(n;d) + d*b(n;d), b(n+1;d) = d*a(n;d) + (1-d)b(n;d) equiv. a(0;d)=a(1;d)=1, b(0;1)=0, b(1;d)=d, and x(n+2;d) + (d-2)*x(n+1;d) + (1-d-d^2)*x(n;d) = 0 for every n=0,1,...,d, and x=a,b equiv. a(n;d) = Sum_{k=0..n} C(n,k)*F(k-1)*(-d)^k, and b(n;d) = Sum_{k=0..n} C(n,k)*(-1)^(k-1)*F(k)*d^k equiv. a(n;d) = Sum_{k=0..n} C(n,k)*F(k+1)*(1-d)^(n-k)*d^k, and b(n;d) = Sum_{k=1..n} C(n;k)*F(k)*(1-d)^(n-k)*d^k. The sequences a(n;d) and b(n;d) for special values d are connected with many known sequences: A000045, A001519, A001906, A015448, A020699, A033887, A033889, A074872, A081567, A081568, A081569, A081574, A081575, A163073 (see also the papers of Witula et al.). - Roman Witula, Jul 12 2012
For any odd k, Fibonacci(k*n) = sqrt(Fibonacci((k-1)*n) * Fibonacci((k+1)*n) + Fibonacci(n)^2). - Gary Detlefs, Dec 28 2012
The ratio of consecutive terms approaches the continued fraction 4 + 1/(4 + 1/(4 +...)) = A098317. - Hal M. Switkay, Jul 05 2020

Examples

			G.f. = 2*x + 8*x^2 + 34*x^3 + 144*x^4 + 610*x^5 + 2584*x^6 + 10946*x^7 + ...
		

References

  • Arthur T. Benjamin and Jennifer J. Quinn,, Proofs that really count: the art of combinatorial proof, M.A.A., 2003, id. 232.

Crossrefs

Programs

Formula

a(n) = Sum_{k=0..n} binomial(n, k)*F(k)*2^k. - Benoit Cloitre, Oct 25 2003
From Lekraj Beedassy, Jun 11 2004: (Start)
a(n) = 4*a(n-1) + a(n-2), with a(-1) = 2, a(0) = 0.
a(n) = 2*A001076(n).
a(n) = (F(n+1))^3 + (F(n))^3 - (F(n-1))^3. (End)
a(n) = Sum_{k=0..floor((n-1)/2)} C(n, 2*k+1)*5^k*2^(n-2*k). - Mario Catalani (mario.catalani(AT)unito.it), Jul 22 2004
a(n) = Sum_{k=0..n} F(n+k)*binomial(n, k). - Benoit Cloitre, May 15 2005
O.g.f.: 2*x/(1 - 4*x - x^2). - R. J. Mathar, Mar 06 2008
a(n) = second binomial transform of (2,4,10,20,50,100,250). This is 2* (1,2,5,10,25,50,125) or 5^n (offset 0): *2 for the odd numbers or *4 for the even. The sequences are interpolated. Also a(n) = 2*((2+sqrt(5))^n - (2-sqrt(5))^n)/sqrt(20). - Al Hakanson (hawkuu(AT)gmail.com), May 02 2009
a(n) = 3*F(n-1)*F(n)*F(n+1) + 2*F(n)^3, F(n)=A000045(n). - Gary Detlefs, Dec 23 2010
a(n) = (-1)^n*3*F(n) + 5*F(n)^3, n >= 0. See the D. Jennings formula given in a comment on A111125, where also the reference is given. - Wolfdieter Lang, Aug 31 2012
With L(n) a Lucas number, F(3*n) = F(n)*(L(2*n) + (-1)^n) = (L(3*n+1) + L(3*n-1))/5 starting at n=1. - J. M. Bergot, Oct 25 2012
a(n) = sqrt(Fibonacci(2*n)*Fibonacci(4*n) + Fibonacci(n)^2). - Gary Detlefs, Dec 28 2012
For n > 0, a(n) = 5*F(n-1)*F(n)*F(n+1) - 2*F(n)*(-1)^n. - J. M. Bergot, Dec 10 2015
a(n) = -(-1)^n * a(-n) for all n in Z. - Michael Somos, Nov 15 2018
a(n) = (5*Fibonacci(n)^3 + Fibonacci(n)*Lucas(n)^2)/4 (Ferns, 1967). - Amiram Eldar, Feb 06 2022
a(n) = 2*i^(n-1)*S(n-1,-4*i), with i = sqrt(-1), and the Chebyshev S-polynomials (see A049310) with S(-1, x) = 0. From the simplified trisection formula. - Gary Detlefs and Wolfdieter Lang, Mar 04 2023
E.g.f.: 2*exp(2*x)*sinh(sqrt(5)*x)/sqrt(5). - Stefano Spezia, Jun 03 2024
a(n) = 2*F(n) + 3*Sum_{k=0..n-1} F(3*k)*F(n-k). - Yomna Bakr and Greg Dresden, Jun 10 2024

A034478 a(n) = (5^n + 1)/2.

Original entry on oeis.org

1, 3, 13, 63, 313, 1563, 7813, 39063, 195313, 976563, 4882813, 24414063, 122070313, 610351563, 3051757813, 15258789063, 76293945313, 381469726563, 1907348632813, 9536743164063, 47683715820313, 238418579101563
Offset: 0

Views

Author

Keywords

Comments

Terms (with the offset changed to 1) are also the quotients arising from sequence A050621.
Partial sums of A020699. - Paul Barry, Sep 03 2003
Binomial transform of A081294. - Paul Barry, Jan 13 2005

Examples

			G.f. = 1 + 3*x + 13*x^2 + 63*x^3 + 313*x^4 + 1563*x^5 + 7813*x^6 + ...
		

Crossrefs

Programs

  • Maple
    seq((5^n + 1)/2, n=0..20); # Zerinvary Lajos, Jun 16 2007
  • Mathematica
    LinearRecurrence[{6, -5},{1, 3},22] (* Ray Chandler, May 25 2021 *)
  • Sage
    [lucas_number2(n,6,5)/2 for n in range(0,22)] # Zerinvary Lajos, Jul 08 2008

Formula

E.g.f.: exp(3*x)*cosh(2*x). - Paul Barry, Mar 17 2003
G.f.: (1-3*x)/((1-x)*(1-5*x)). - Paul Barry, Sep 03 2003
a(n) = Sum_{k=0..n} Sum_{j=0..k} binomial(n, k)*binomial(2*k, 2*j). - Paul Barry, Jan 13 2005
a(n) = 6*a(n-1) - 5*a(n-2) for n>1, a(0)=1, a(1)=3. - Philippe Deléham, Jul 11 2005
a(n)^2 + (a(n) - 1)^2 = a(2*n). E.g., 63^2 + 62^2 = 7813 = a(6). - Gary W. Adamson, Jun 17 2006
a(n) = 5*a(n-1) - 2 for n>0, a(0)=1. - Vincenzo Librandi, Aug 01 2010
a(n) = A034474(n)/2. - Elmo R. Oliveira, Dec 10 2023

A154692 Triangle read by rows: T(n, k) = (2^(n-k)*3^k + 2^k*3^(n-k))*binomial(n, k).

Original entry on oeis.org

2, 5, 5, 13, 24, 13, 35, 90, 90, 35, 97, 312, 432, 312, 97, 275, 1050, 1800, 1800, 1050, 275, 793, 3492, 7020, 8640, 7020, 3492, 793, 2315, 11550, 26460, 37800, 37800, 26460, 11550, 2315, 6817, 38064, 97776, 157248, 181440, 157248, 97776, 38064, 6817
Offset: 0

Views

Author

Roger L. Bagula and Gary W. Adamson, Jan 14 2009

Keywords

Examples

			Triangle begins
     2;
     5,     5;
    13,    24,    13;
    35,    90,    90,     35;
    97,   312,   432,    312,     97;
   275,  1050,  1800,   1800,   1050,    275;
   793,  3492,  7020,   8640,   7020,   3492,   793;
  2315, 11550, 26460,  37800,  37800,  26460, 11550,  2315;
  6817, 38064, 97776, 157248, 181440, 157248, 97776, 38064, 6817;
		

Crossrefs

Sums include: A010673 (alternating sign row), A020699 (row), A020729 (row).
Related sequences: A007318, A154690,

Programs

  • Magma
    A154692:= func< n,k | (2^(n-k)*3^k + 2^k*3^(n-k))*Binomial(n,k) >;
    [A154692(n,k): k in [0..n], n in [0..12]]; // G. C. Greubel, Jan 18 2025
    
  • Maple
    A154692 := proc(n,m)
            (2^(n-m)*3^m+2^m*3^(n-m))*binomial(n,m) ;
    end proc:
    seq(seq(A154692(n,m),m=0..n),n=0..10) ; # R. J. Mathar, Oct 24 2011
  • Mathematica
    p=2; q=3;
    T[n_, m_]= (p^(n-m)*q^m + p^m*q^(n-m))*Binomial[n,m];
    Table[T[n,m], {n,0,10}, {m,0,n}]//Flatten
  • Python
    from sage.all import *
    def A154692(n,k): return (pow(2,n-k)*pow(3,k)+pow(2,k)*pow(3,n-k))*binomial(n,k)
    print(flatten([[A154692(n,k) for k in range(n+1)] for n in range(13)])) # G. C. Greubel, Jan 18 2025

Formula

Sum_{k=0..n} T(n, k) = A020729(n) = A020699(n+1).
T(n,m) = A013620(n,m) + A013620(m,n). - R. J. Mathar, Oct 24 2011
From G. C. Greubel, Jan 18 2025: (Start)
T(2*n, n) = A119309(n).
Sum_{k=0..n} (-1)^k*T(n, k) = A010673(n+1).
Sum_{k=0..floor(n/2)} T(n-k, k) = A015518(n+1) + A007482(n).
Sum_{k=0..floor(n/2)} (-1)^k*T(n-k, k) = A088137(n+1) + A000225(n+1). (End)

A020729 Pisot sequences E(2,10), L(2,10), P(2,10), T(2,10).

Original entry on oeis.org

2, 10, 50, 250, 1250, 6250, 31250, 156250, 781250, 3906250, 19531250, 97656250, 488281250, 2441406250, 12207031250, 61035156250, 305175781250, 1525878906250, 7629394531250, 38146972656250, 190734863281250, 953674316406250, 4768371582031250, 23841857910156250
Offset: 0

Views

Author

Keywords

Crossrefs

Essentially a duplicate of A020699.
See A008776 for definitions of Pisot sequences.

Programs

Formula

a(n) = 2*5^n.
a(n) = 5*a(n-1).
G.f.: 2/(1-5*x). - Philippe Deléham, Nov 23 2008
From Amiram Eldar, May 08 2023: (Start)
Sum_{n>=0} 1/a(n) = 5/8.
Sum_{n>=0} (-1)^n/a(n) = 5/12.
Product_{n>=0} (1 - 1/a(n)) = A132021. (End)
From Elmo R. Oliveira, Dec 06 2024: (Start)
E.g.f.: 2*exp(5*x).
a(n) = 2*A000351(n). (End)

A217983 If n = floor(p/2) * p^e, for some (by necessity unique) prime p and exponent e > 0, then a(n) = p, otherwise a(n) = 1.

Original entry on oeis.org

1, 2, 3, 2, 1, 1, 1, 2, 3, 5, 1, 1, 1, 1, 1, 2, 1, 1, 1, 1, 7, 1, 1, 1, 1, 1, 3, 1, 1, 1, 1, 2, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 5, 1, 1, 1, 1, 11, 1, 1, 1, 1, 1, 1, 1, 1, 2, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 13, 1, 1, 3, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1
Offset: 1

Views

Author

Johannes W. Meijer, Oct 25 2012

Keywords

Comments

a(A130290(n) * A000040(n)^n1) = A000040(n), n >= 1 and n1 >= 1, and a(n) = 1 elsewhere. - The original name of the sequence.
The a(n) are related to the prime numbers A000040 and the number of nonzero quadratic residues modulo the n-th prime A130290, see the first formula and the Maple program.
This sequence resembles the exponential of the von Mangoldt function A014963; for the latter sequence a(A000040(n)^n1) = A000040(n), n >= 1 and n1 >= 1, and a(n) = 1 elsewhere.
Positions of the first occurrence of each successive noncomposite number (and also the records) is given by the union of {2} and A008837. - Antti Karttunen, Jan 17 2025

Crossrefs

Cf. A000079, A000244 (after their initial 1's, the positions of 2's and 3's respectively), A020699 (positions of 5's from its third term 10 onward), A169634 (positions of 7's from the second term onward), A379956 (positions of terms > 1).

Programs

  • Maple
    nmax := 78: A000040 := proc(n): ithprime(n) end: A130290 := proc(n): if n =1 then 1 else (A000040(n)-1)/2 fi: end: for n from 1 to nmax do A217983(n) := 1 od: for n from 1 to nmax do for n1 from 1 to floor(log[A000040(n)](nmax)) do A217983(A130290(n) * A000040(n)^n1) := A000040(n) od: od: seq(A217983(n), n=1..nmax);
  • PARI
    A217983(n) = { my(f=factor(n)); for(i=1,#f~,if((n/(f[i,1]^f[i,2])) == (f[i,1]\2), return(f[i,1]))); (1); }; \\ Antti Karttunen, Jan 16 2025

Formula

a(A130290(n) * A000040(n)^n1) = A000040(n), n >= 1 and n1 >= 1, and a(n)= 1 elsewhere.
a(n) = (A160479(n+1) * A128060(n+1))/(2*n+1) for n >= 2.

Extensions

Definition simplified, original definition moved to comments; more terms added by Antti Karttunen, Jan 16 2025

A193726 Triangular array: the fusion of polynomial sequences P and Q given by p(n,x)=(x+2)^n and q(n,x)=(x+2)^n.

Original entry on oeis.org

1, 1, 2, 2, 9, 10, 4, 28, 65, 50, 8, 76, 270, 425, 250, 16, 192, 920, 2200, 2625, 1250, 32, 464, 2800, 9000, 16250, 15625, 6250, 64, 1088, 7920, 32000, 77500, 112500, 90625, 31250, 128, 2496, 21280, 103600, 315000, 612500, 743750, 515625, 156250
Offset: 0

Views

Author

Clark Kimberling, Aug 04 2011

Keywords

Comments

See A193722 for the definition of fusion of two sequences of polynomials or triangular arrays.
Triangle T(n,k), read by rows, given by (1,1,0,0,0,0,0,0,0,...) DELTA (2,3,0,0,0,0,0,0,0,...) where DELTA is the operator defined in A084938. - Philippe Deléham, Oct 05 2011

Examples

			First six rows:
   1;
   1,   2;
   2,   9,  10;
   4,  28,  65,   50;
   8,  76, 270,  425,  250;
  16, 192, 920, 2200, 2625, 1250;
		

Crossrefs

Programs

  • Magma
    function T(n, k) // T = A193726
      if k lt 0 or k gt n then return 0;
      elif n lt 2 then return k+1;
      else return 2*T(n-1, k) + 5*T(n-1, k-1);
      end if;
    end function;
    [T(n, k): k in [0..n], n in [0..12]]; // G. C. Greubel, Dec 02 2023
    
  • Mathematica
    (* First program *)
    z = 8; a = 1; b = 2; c = 1; d = 2;
    p[n_, x_] := (a*x + b)^n ; q[n_, x_] := (c*x + d)^n
    t[n_, k_] := Coefficient[p[n, x], x^k]; t[n_, 0] := p[n, x] /. x -> 0;
    w[n_, x_] := Sum[t[n, k]*q[n + 1 - k, x], {k, 0, n}]; w[-1, x_] := 1
    g[n_] := CoefficientList[w[n, x], {x}]
    TableForm[Table[Reverse[g[n]], {n, -1, z}]]
    Flatten[Table[Reverse[g[n]], {n, -1, z}]]  (* A193726 *)
    TableForm[Table[g[n], {n, -1, z}]]
    Flatten[Table[g[n], {n, -1, z}]]  (* A193727 *)
    (* Second program *)
    T[n_, k_]:= T[n, k]= If[k<0 || k>n, 0, If[n<2, k+1, 2*T[n-1, k] + 5*T[n -1, k-1]]];
    Table[T[n, k], {n,0,12}, {k,0,n}]//Flatten (* G. C. Greubel, Dec 02 2023 *)
  • SageMath
    def T(n, k): # T = A193726
        if (k<0 or k>n): return 0
        elif (n<2): return k+1
        else: return 2*T(n-1, k) + 5*T(n-1, k-1)
    flatten([[T(n, k) for k in range(n+1)] for n in range(13)]) # G. C. Greubel, Dec 02 2023

Formula

T(n,k) = 5*T(n-1,k-1) + 2*T(n-1,k) with T(0,0)=T(1,0)=1 and T(1,1)=2. - Philippe Deléham, Oct 05 2011
G.f.: (1-x-3*x*y)/(1-2*x-5*x*y). - R. J. Mathar, Aug 11 2015
From G. C. Greubel, Dec 02 2023: (Start)
T(n, 0) = A011782(n).
T(n, n) = A020699(n).
T(n, n-1) = A081040(n-1).
Sum_{k=0..n} T(n, k) = A169634(n-1) + (4/7)*[n=0].
Sum_{k=0..n} (-1)^k * T(n, k) = (-1)^n*A133494(n) = -A141413(n+1).
Sum_{k=0..floor(n/2)} T(n-k, k) = A002532(n) + 2*A002532(n-1) + (3/5)*[n=0].
Sum_{k=0..floor(n/2)} (-1)^k * T(n-k, k) = A045873(n) - 2*A045873(n-1) + (3/5)*[n=0]. (End)

A193727 Mirror of the triangle A193726.

Original entry on oeis.org

1, 2, 1, 10, 9, 2, 50, 65, 28, 4, 250, 425, 270, 76, 8, 1250, 2625, 2200, 920, 192, 16, 6250, 15625, 16250, 9000, 2800, 464, 32, 31250, 90625, 112500, 77500, 32000, 7920, 1088, 64, 156250, 515625, 743750, 612500, 315000, 103600, 21280, 2496, 128
Offset: 0

Views

Author

Clark Kimberling, Aug 04 2011

Keywords

Comments

This triangle is obtained by reversing the rows of the triangle A193726.
Triangle T(n,k), read by rows, given by (2,3,0,0,0,0,0,0,0,...) DELTA (1,1,0,0,0,0,0,0,0,...) where DELTA is the operator defined in A084938. - Philippe Deléham, Oct 05 2011

Examples

			First six rows:
     1;
     2,    1;
    10,    9,    2;
    50,   65,   28,   4;
   250,  425,  270,  76,   8;
  1250, 2625, 2200, 920, 192; 16;
		

Crossrefs

Programs

  • Magma
    function T(n, k) // T = A193727
      if k lt 0 or k gt n then return 0;
      elif n lt 2 then return n-k+1;
      else return 5*T(n-1, k) + 2*T(n-1, k-1);
      end if;
    end function;
    [T(n, k): k in [0..n], n in [0..12]]; // G. C. Greubel, Dec 02 2023
    
  • Mathematica
    (* First program *)
    z = 8; a = 1; b = 2; c = 1; d = 2;
    p[n_, x_] := (a*x + b)^n ; q[n_, x_] := (c*x + d)^n
    t[n_, k_] := Coefficient[p[n, x], x^k]; t[n_, 0] := p[n, x] /. x -> 0;
    w[n_, x_] := Sum[t[n, k]*q[n + 1 - k, x], {k, 0, n}]; w[-1, x_] := 1
    g[n_] := CoefficientList[w[n, x], {x}]
    TableForm[Table[Reverse[g[n]], {n, -1, z}]]
    Flatten[Table[Reverse[g[n]], {n, -1, z}]]  (* A193726 *)
    TableForm[Table[g[n], {n, -1, z}]]
    Flatten[Table[g[n], {n, -1, z}]]  (* A193727 *)
    (* Second program *)
    T[n_, k_]:= T[n, k]= If[k<0 || k>n, 0, If[n<2, n-k+1, 5*T[n-1, k] + 2*T[n-1, k-1]]];
    Table[T[n, k], {n,0,12}, {k,0,n}]//Flatten (* G. C. Greubel, Dec 02 2023 *)
  • SageMath
    def T(n, k): # T = A193727
        if (k<0 or k>n): return 0
        elif (n<2): return n-k+1
        else: return 5*T(n-1, k) + 2*T(n-1, k-1)
    flatten([[T(n, k) for k in range(n+1)] for n in range(13)]) # G. C. Greubel, Dec 02 2023

Formula

T(n,k) = A193726(n,n-k).
T(n,k) = 2*T(n-1,k-1) + 5*T(n-1,k) with T(0,0)=T(1,1)=1 and T(1,0)=2. - Philippe Deléham, Oct 05 2011
G.f.: (1-3*x-x*y)/(1-5*x-2*x*y). - R. J. Mathar, Aug 11 2015
From G. C. Greubel, Dec 02 2023: (Start)
T(n, 0) = A020699(n).
T(n, 1) = A081040(n-1).
T(n, n) = A011782(n).
Sum_{k=0..n} T(n, k) = A169634(n-1) + (4/7)*[n=0].
Sum_{k=0..n} (-1)^k * T(n, k) = A133494(n).
Sum_{k=0..floor(n/2)} T(n-k, k) = 2*A015535(n) + A015535(n-1) + (1/2)*[n=0].
Sum_{k=0..floor(n/2)} (-1)^k * T(n-k, k) = 2*A107839(n-1) - A107839(n-2) + (1/2)*[n=0]. (End)

A362468 Number of distinct n-digit suffixes generated by iteratively multiplying an integer by 4, where the initial integer is 1.

Original entry on oeis.org

3, 11, 52, 252, 1253, 6253, 31254, 156254, 781255, 3906255, 19531256, 97656256, 488281257, 2441406257, 12207031258, 61035156258, 305175781259, 1525878906259, 7629394531260, 38146972656260, 190734863281261, 953674316406261, 4768371582031262, 23841857910156262
Offset: 1

Views

Author

Gil Moses, Apr 21 2023

Keywords

Comments

This process produces a family of similar sequences when using different constant multipliers. See crossrefs below.

Examples

			For n = 2, we begin with 1, iteratively multiply by 4 and count the number of terms before the last 2 digits begin to repeat. We obtain 1, 4, 16, 64, 256, 1024, 4096, 16384, 65536, 262144, 1048576, ... . The next term is 4194304, which repeats the last 2 digits 04. Thus, the number of distinct terms is a(2) = 11.
		

Crossrefs

Period of powers mod 10^n: A020699 (4), A216099 (3), A216164 (7), A216156 (11).

Programs

  • PARI
    a(n)=(n+1)\2*2*5^(n-1) \\ Charles R Greathouse IV, Apr 28 2023
  • Python
    def a(n):
        s, x, M = set(), 1, 10**n
        while x not in s: s.add(x); x = (x<<2)%M
        return len(s), x
    print([a(n) for n in range(1, 11)]) # Michael S. Branicky, Apr 22 2023
    
  • Python
    def A362468(n): return (n+1>>1)+(5**(n-1)<<1) # Chai Wah Wu, Apr 24 2023
    

Formula

a(n) = t + k, where t = A004526(n+1) and k = A020699(n), since 4^t == 4^(t+k) (mod 10^n). Here, t is the "transient" portion and k = ord_5^n(4), the multiplicative order of 4 modulo 5^n, is the period of the orbit. - Michael S. Branicky, Apr 22 2023

Extensions

a(13) and beyond from Michael S. Branicky, Apr 22 2023

A183190 Triangle T(n,k), read by rows, given by (1, 1, 0, 0, 0, 0, 0, 0, 0, ...) DELTA (0, 1, 0, 0, 0, 0, 0, 0, 0, ...) where DELTA is the operator defined in A084938.

Original entry on oeis.org

1, 1, 0, 2, 1, 0, 4, 4, 1, 0, 8, 12, 6, 1, 0, 16, 32, 24, 8, 1, 0, 32, 80, 80, 40, 10, 1, 0, 64, 192, 240, 160, 60, 12, 1, 0, 128, 448, 672, 560, 280, 84, 14, 1, 0, 256, 1024, 1792, 1792, 1120, 448, 112, 16, 1, 0, 512, 2304, 4608, 5376, 4032, 2016, 672, 144, 18, 1, 0
Offset: 0

Views

Author

Philippe Deléham, Dec 14 2011

Keywords

Comments

A071919*A007318 as infinite lower triangular matrices.
A129186*A038207 as infinite lower triangular matrices.
From Paul Curtz, Nov 12 2019: (Start)
If a new main diagonal of 0's is added to the triangle, then for this variant the following propositions hold:
The first column is A166444.
The second column is A139756.
The antidiagonal sums are A000129 (Pell numbers).
The row sums are (-1)^n*A141413.
The signed row sums are 0 followed by 1's, autosequence companion to A054977.
(End)

Examples

			Triangle begins:
   1;
   1,  0;
   2,  1,  0;
   4,  4,  1,  0;
   8, 12,  6,  1,  0;
  16, 32, 24,  8,  1, 0;
  32, 80, 80, 40, 10, 1, 0;
  ...
		

Crossrefs

Essentially the same as A038207, A062715, A065109.
Cf. A001787, A001788, A139756, A000129 (antidiagonals sums).

Programs

  • Maple
    T:= proc(n, k) option remember; `if`(k<0 or k>n, 0,
          `if`(n<2, 1-k, 2*T(n-1, k) +T(n-1, k-1)))
        end:
    seq(seq(T(n,k), k=0..n), n=0..12);  # Alois P. Heinz, Nov 08 2019
  • Mathematica
    T[n_, k_] /; 0 <= k <= n := T[n, k] = 2 T[n-1, k] + T[n-1, k-1];
    T[0, 0] = T[1, 0] = 1; T[1, 1] = 0; T[, ] = 0;
    Table[T[n, k], {n, 0, 9}, {k, 0, n}] // Flatten (* Jean-François Alcover, Nov 08 2019 *)

Formula

T(n,k) = 2*T(n-1,k) + T(n-1,k-1) with T(0,0)=T(1,0)=1 and T(1,1)=0 .
G.f.: (1-(1+y)*x)/(1-(2+y)*x).
Sum_{k, 0<=k<=n} T(n,k)*x^k = A019590(n+1), A000012(n), A011782(n), A133494(n) for x = -2, -1, 0, 1 respectively.
Sum_{k, 0<=k<=n} T(n,k)*x^(n-k) = A000007(n), A133494(n), A020699(n) for x = 0, 1, 2 respectively.
T(2n,n) = A069720(n).

A095687 Numbers n such that n-th Pisano number = 6*n.

Original entry on oeis.org

0, 10, 50, 250, 1250, 6250, 31250, 156250, 781250, 3906250, 19531250, 97656250, 488281250, 2441406250, 12207031250, 61035156250, 305175781250, 1525878906250, 7629394531250, 38146972656250, 190734863281250
Offset: 1

Views

Author

Lekraj Beedassy, Jul 05 2004

Keywords

Comments

Period of Fibonacci sequence(mod m)<=6*m.
Effectively the same as A020699 and A020729 apart from the initial terms. [From Carl R. White, Sep 22 2009]

Crossrefs

Cf. A001175.

Formula

a(0) = 0, a(1) = 10, a(n) = 5*a(n-1); a(n) = sgn(n)*2*5^n [From Carl R. White, Sep 22 2009]

Extensions

More terms from Carl R. White, Sep 22 2009
Showing 1-10 of 10 results.