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 *)

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

Original entry on oeis.org

0, 1, 2, 3, 4, 5, 6, 7, 8, 10, 11, 12, 13, 14, 16, 18, 19, 21, 22, 23, 26, 29, 31, 34, 36, 37, 38, 42, 47, 50, 55, 58, 60, 61, 62, 68, 76, 81, 89, 94, 97, 99, 100, 101, 110, 123, 131, 144, 152, 157, 160, 162, 163, 164, 178, 199, 212, 233, 246, 254, 259, 262
Offset: 1

Views

Author

Clark Kimberling, Jun 17 2011

Keywords

Crossrefs

Programs

  • Mathematica
    (See A191842.)
    Union[Select[3#[[1]]-#[[2]]&/@Tuples[Fibonacci[Range[20]],2],#>=0&]] (* Harvey P. Dale, Jul 29 2013 *)

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.