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-3 of 3 results.

A191842 Ordered sums f+3*g, where f and g are Fibonacci numbers (A000045).

Original entry on oeis.org

4, 5, 6, 7, 8, 9, 10, 11, 12, 14, 16, 17, 18, 19, 20, 22, 23, 24, 25, 26, 27, 28, 29, 30, 32, 36, 37, 40, 41, 42, 43, 44, 45, 47, 49, 52, 58, 60, 61, 64, 65, 66, 68, 70, 71, 73, 76, 79, 84, 92, 94, 95, 97, 98, 103, 104, 105, 107, 110, 113, 115, 118, 123, 128
Offset: 1

Views

Author

Clark Kimberling, Jun 17 2011

Keywords

Crossrefs

Programs

  • Mathematica
    c = 1; d = 3; f[n_] := Fibonacci[n];
    g[n_] := c*f[n]; h[n_] := d*f[n];
    t[i_, j_] := h[i] + g[j];
    u = Table[t[i, j], {i, 1, 20}, {j, 1, 20}];
    v = Union[Flatten[u ]]    (* A191842 *)
    t1[i_, j_] := If[g[i] - h[j] > 0, g[i] - h[j], 0]
    u1 = Table[t1[i, j], {i, 1, 20}, {j, 1, 20}];
    v1 = Union[Flatten[u1 ]]  (* A191843: f(i)-3*f(j) *)
    g1[n_] := d*f[n]; h1[n_] := c*f[n];
    t2[i_, j_] := If[g1[i] - h1[j] > 0, g1[i] - h1[j], 0]
    u2 = Table[t2[i, j], {i, 1, 20}, {j, 1, 20}];
    v2 = Union[Flatten[u2 ]]  (* A191844: 3*f(i)-f(j) *)
    v3 = Union[v1, v2]        (* A191845 *)

A191843 Ordered nonnegative differences f-3*g, where f and g are positive Fibonacci numbers (A000045).

Original entry on oeis.org

0, 2, 4, 5, 6, 7, 10, 12, 15, 16, 18, 19, 25, 26, 28, 31, 40, 42, 46, 49, 50, 52, 65, 68, 74, 80, 81, 83, 86, 105, 110, 120, 129, 131, 135, 138, 141, 170, 178, 194, 209, 212, 218, 224, 227, 230, 275, 288, 314, 338, 343, 353, 362, 368, 371, 374, 445, 466, 508
Offset: 1

Views

Author

Clark Kimberling, Jun 17 2011

Keywords

Crossrefs

Programs

A191845 Ordered nonnegative differences c*f-d*g, where f and g are positive Fibonacci numbers, and {c,d}={1,3}.

Original entry on oeis.org

0, 1, 2, 3, 4, 5, 6, 7, 8, 10, 11, 12, 13, 14, 15, 16, 18, 19, 21, 22, 23, 25, 26, 28, 29, 31, 34, 36, 37, 38, 40, 42, 46, 47, 49, 50, 52, 55, 58, 60, 61, 62, 65, 68, 74, 76, 80, 81, 83, 86, 89, 94, 97, 99, 100, 101, 105, 110, 120, 123, 129, 131, 135, 138
Offset: 1

Views

Author

Clark Kimberling, Jun 17 2011

Keywords

Crossrefs

Programs

Showing 1-3 of 3 results.