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.

A271355 Triangular array: T(n,k) = |round((r^n)*(s^k))|, where r = golden ratio = (1+sqrt(5))/2, s = (1-sqrt(5))/2, 1 <= k <= n, n >= 1.

Original entry on oeis.org

1, 2, 1, 3, 2, 1, 4, 3, 2, 1, 7, 4, 3, 2, 1, 11, 7, 4, 3, 2, 1, 18, 11, 7, 4, 3, 2, 1, 29, 18, 11, 7, 4, 3, 2, 1, 47, 29, 18, 11, 7, 4, 3, 2, 1, 76, 47, 29, 18, 11, 7, 4, 3, 2, 1, 123, 76, 47, 29, 18, 11, 7, 4, 3, 2, 1, 199, 123, 76, 47, 29, 18, 11, 7, 4, 3
Offset: 1

Views

Author

Clark Kimberling, May 01 2016

Keywords

Comments

Row n consists of the first n numbers of A169985 = (1,2,3,4,7,... ) in reverse order; these are the Lucas numbers, A000032, with order of initial two terms reversed. Every column of the triangle is A169985.

Examples

			First six rows:
  1
  2   1
  3   2   1
  4   3   2   1
  7   4   3   2   1
  11  7   4   3   2   1
		

Crossrefs

Programs

  • Mathematica
    r = N[(1 + Sqrt[5])/2, 100]; s = N[(1 - Sqrt[5])/2, 100];
    t = Table[Abs[Round[(r^n)*(s^k)]], {n, 0, 15}, {k, 1, n}];
    Flatten[t]  (* A271355, sequence *)
    TableForm[t]  (* A271355, array *)

Formula

T(n,k) = |round((r^n)*(s^k))|, where r = golden ratio = (1+sqrt(5))/2, s = (1-sqrt(5))/2, 1 <= k <= n, n >= 1.
T(k+j-1,j) = A000032(k) = k-th Lucas number, for k >= 2.