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.

A038593 Differences between positive cubes in 1, 2 or 3 ways: union of A014439, A014440 and A014441.

Original entry on oeis.org

7, 19, 26, 37, 56, 61, 63, 91, 98, 117, 124, 127, 152, 169, 189, 208, 215, 217, 218, 271, 279, 296, 316, 331, 335, 342, 386, 387, 397, 448, 469, 485, 488, 504, 511, 513, 547, 602, 604, 631, 657, 665, 702, 721, 728, 784, 817, 819, 866, 875, 919, 936, 973, 988
Offset: 1

Views

Author

Keywords

Crossrefs

Programs

  • Maple
    N:= 1000: # to get all terms <= N
    X:= floor(sqrt(N/3)):
    V:= Vector(N):
    for x from 2 to X do
      if x^3 > N then
         y0:= iroot(x^3-N,3);
         if x^3 - y0^3 > N then y0:= y0+1 fi;
      else y0:= 1 fi;
      for y from y0 to x-1 do
         V[x^3 - y^3] := V[x^3 - y^3]+1
      od
    od:
    select(t -> V[t] <= 3 and V[t]>=1, [$1..N]); # Robert Israel, Dec 10 2015
  • Mathematica
    r = 988; p = 3; Sort@Drop[Flatten@Select[Tally@Reap[Do[n = i^p - j^p; If[n <= r, Sow[n]], {i, Ceiling[(r/p)^(1/(p - 1))]}, {j, i}]][[2, 1]], 0 < #[[2]] < 4 &], {2, -1, 2}] (* Arkadiusz Wesolowski, Dec 10 2015 *)

Extensions

Corrected by Don Reble, Nov 19 2006

A038594 Numbers n such that n and n+1 are differences between 2 positive cubes in at least one way.

Original entry on oeis.org

217, 386, 2168, 2169, 2401, 2716, 3087, 3752, 6516, 7351, 9423, 9576, 10107, 12096, 13084, 13480, 14769, 14832, 18486, 20312, 29763, 32464, 32760, 36631, 37296, 37448, 39815, 50310, 54405, 58329, 58807, 63656, 67544, 78344, 81711, 83285
Offset: 1

Views

Author

Keywords

Crossrefs

Formula

a(n) = A038595(n)-1. - M. F. Hasler, Oct 05 2013

A038632 Numbers k such that k-th and (k+1)-st term of A038593 differ by 1.

Original entry on oeis.org

18, 27, 99, 100, 108, 118, 129, 148, 222, 245, 293, 296, 306, 348, 367, 376, 401, 403, 475, 510, 667, 707, 714, 773, 780, 784, 822, 964, 1018, 1071, 1080, 1140, 1191, 1322, 1360, 1376, 1405, 1433, 1505, 1558, 1621, 1691, 2007, 2074, 2076, 2120, 2254, 2286
Offset: 1

Views

Author

Keywords

Comments

The first number that is a difference of 2 cubes in 4 ways > 3000000.

Crossrefs

Showing 1-3 of 3 results.