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.

A381583 Starts of runs of 3 consecutive integers that are all terms in A381581.

Original entry on oeis.org

1, 2, 20, 55, 56, 110, 304, 364, 398, 846, 1024, 1084, 1744, 1854, 2044, 2104, 2105, 2527, 2824, 2862, 3870, 4374, 5222, 5223, 5243, 5718, 5928, 6488, 6784, 6844, 6894, 6978, 7142, 7924, 10590, 11240, 11889, 11975, 12248, 14284, 14915, 16638, 17710, 17714, 17824
Offset: 1

Views

Author

Amiram Eldar, Feb 28 2025

Keywords

Comments

If k is congruent to 1 or 5 mod 12 (A087445), then A001906(k) = Fibonacci(2*k) is a term.

Examples

			1 is a term since A291711(1) = 1 divides 1, A291711(2) = 2 divides 2, and A291711(3) = 1 divides 3.
20 is a term since A291711(20) = 4 divides 20, A291711(21) = 1 divides 21, and A291711(22) = 2 divides 22.
		

Crossrefs

Subsequence of A381581 and A381582.
Subsequences: A381584, A381585.
Similar sequences: A154701, A328210, A330932, A351721.

Programs

  • Mathematica
    f[n_] := f[n] = Fibonacci[2*n]; q[n_] := q[n] = Module[{s = 0, m = n, k}, While[m > 0, k = 1; While[m > f[k], k++]; If[m < f[k], k--]; If[m >= 2*f[k], s += 2; m -= 2*f[k], s++; m -= f[k]]]; Divisible[n, s]]; seq[count_, nConsec_] := Module[{cn = q /@ Range[nConsec], s = {}, c = 0, k = nConsec + 1}, While[c < count, If[And @@ cn, c++; AppendTo[s, k - nConsec]]; cn = Join[Rest[cn], {q[k]}]; k++]; s]; seq[45, 3]
  • PARI
    mx = 20; fvec = vector(mx, i, fibonacci(2*i)); f(n) = if(n <= mx, fvec[n], fibonacci(2*n));
    is1(n) = {my(s = 0, m = n, k); while(m > 0, k = 1; while(m > f(k), k++); if(m < f(k), k--); if(m >= 2*f(k), s += 2; m -= 2*f(k), s++; m -= f(k))); !(n % s);}
    list(lim) = {my(q1 = is1(1), q2 = is1(2), q3); for(k = 3, lim, q3 = is1(k); if(q1 && q2 && q3, print1(k-2, ", ")); q1 = q2; q2 = q3);}

A364008 Starts of runs of 3 consecutive integers that are Wythoff-Niven numbers (A364006).

Original entry on oeis.org

6, 54, 374, 375, 978, 979, 14695, 15694, 17708, 17709, 34990, 36476, 38374, 41699, 45304, 75944, 85149, 93104, 113463, 114560, 116170, 117754, 120274, 121371, 203983, 221804, 250118, 259819, 270214, 270477, 275526, 276912, 288125, 297241, 297515, 299824, 309440
Offset: 1

Views

Author

Amiram Eldar, Jul 01 2023

Keywords

Crossrefs

Programs

  • Mathematica
    seq[10, 3] (* generates the first 10 terms using the function seq[count, nConsec] from A364007 *)

A364125 Starts of runs of 3 consecutive integers that are Stolarsky-Niven numbers (A364123).

Original entry on oeis.org

1419, 2680, 6984, 18765, 20383, 28390, 48697, 55560, 69056, 121913, 125340, 125341, 125739, 133614, 135189, 136409, 140789, 147563, 150138, 155518, 157068, 171819, 317933, 318188, 319395, 323685, 339723, 340846, 349326, 356290, 371041, 389010, 392903, 393809, 400608
Offset: 1

Views

Author

Amiram Eldar, Jul 07 2023

Keywords

Crossrefs

Programs

  • Mathematica
    seq[10, 3] (* generates the first 10 terms, using the function seq[count, nConsec] from A364124 *)
  • PARI
    lista(10, 3) \\ generates the first 10 terms, using the function lista(count, nConsec) from A364124
Previous Showing 11-13 of 13 results.