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

A140755 Square array read by rows: T(n,k) = 41*n^2 + k^2 + n*k, with 20 columns.

Original entry on oeis.org

43, 47, 53, 61, 71, 83, 97, 113, 131, 151, 173, 197, 223, 251, 281, 313, 347, 383, 421, 461, 167, 172, 179, 188, 199, 212, 227, 244, 263, 284, 307, 332, 359, 388, 419, 452, 487, 524, 563, 604, 373, 379, 387, 397, 409, 423, 439
Offset: 1

Views

Author

Aldrich Stevens (aldrichstevens(AT)msn.com), May 27 2008

Keywords

Comments

The original definition of this sequence was obscure: "A prime array is embedded in a binary quadratic equation that is a transform of x^2 - x + 41".

Crossrefs

Cf. A140340, A140754 (very similar arrays).

Programs

  • Magma
    m:=20; [41*n^2 +k^2 +n*k: k in [1..m], n in [1..m]]; // G. C. Greubel, Oct 21 2023
    
  • Mathematica
    With[{m=20}, Table[41*n^2 +k^2 +n*k, {n,m}, {k,m}]//Flatten] (* G. C. Greubel, Oct 21 2023 *)
  • SageMath
    flatten([[41*n^2+k^2+n*k for k in range(1,21)] for n in range(1,21)]) # G. C. Greubel, Oct 21 2023

Extensions

Partially edited with better definition by Omar E. Pol, Jan 11 2009
More terms from Omar E. Pol, Jan 11 2009

A140754 Array T(n,k) = 19*n^2 + 10*k^2, read by rows, with 14 columns and 14 rows.

Original entry on oeis.org

29, 59, 109, 179, 269, 379, 509, 659, 829, 1019, 1229, 1459, 1709, 1979, 86, 116, 166, 236, 326, 436, 566, 716, 886, 1076, 1286, 1516, 1766, 2036, 181, 211, 261, 331, 421, 531, 661, 811, 981, 1171, 1381, 1611, 1861, 2131, 314, 344, 394, 464, 554, 664, 794
Offset: 1

Views

Author

Aldrich Stevens (aldrichstevens(AT)msn.com), May 27 2008

Keywords

Examples

			The array in full:
    29   59  109  179  269  379  509  659  829 1019 1229 1459 1709 1979
    86  116  166  236  326  436  566  716  886 1076 1286 1516 1766 2036
   181  211  261  331  421  531  661  811  981 1171 1381 1611 1861 2131
   314  344  394  464  554  664  794  944 1114 1304 1514 1744 1994 2264
   485  515  565  635  725  835  965 1115 1285 1475 1685 1915 2165 2435
   694  724  774  844  934 1044 1174 1324 1494 1684 1894 2124 2374 2644
   941  971 1021 1091 1181 1291 1421 1571 1741 1931 2141 2731 2621 2891
  1226 1256 1306 1376 1466 1576 1706 1856 2026 2216 2426 2656 2906 3176
  1549 1579 1629 1699 1789 1899 2029 2179 2349 2539 2749 2979 3229 3499
  1910 1940 1990 2060 2150 2260 2390 2540 2710 2900 3110 3340 3590 3860
  2309 2339 2389 2459 2549 2669 2789 2939 3109 3299 3509 3739 3989 4259
  2746 2776 2826 2896 2986 3096 3226 3376 3546 3736 3946 4176 4426 4696
  3221 3251 3301 3371 3461 3571 3701 3851 4021 4211 4421 4651 4901 5171
  3734 3764 3814 3884 3974 4084 4214 4364 4534 4724 4934 5164 5414 5684
		

Crossrefs

Programs

  • Magma
    [19*n^2+10*k^2: k in [1..14], n in [1..14]]; // G. C. Greubel, Oct 22 2023
    
  • Mathematica
    Table[19*n^2 +10*k^2, {n,14}, {k,14}]//Flatten (* G. C. Greubel, Oct 22 2023 *)
  • SageMath
    flatten([[19*n^2+10*k^2 for k in range(1,15)] for n in range(1,15)]) # G. C. Greubel, Oct 22 2023

Extensions

Edited with better definition by Omar E. Pol, Jan 05 2009
Showing 1-2 of 2 results.