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.

A103150 Record values in A130971.

Original entry on oeis.org

2, 3, 13, 23, 41, 47, 73, 97, 131, 163, 191, 193, 239, 277, 307, 353, 373, 379, 449, 487, 601, 631, 643, 709, 761, 811, 823, 881, 911, 1013, 1033, 1091, 1109, 1193, 1213, 1217, 1291, 1301, 1319, 1373, 1423, 1447, 1483, 1601, 1621, 1721, 1823, 1867, 1873, 1901, 4021, 5011, 266111, 4294978733
Offset: 1

Views

Author

Lei Zhou, Feb 05 2005

Keywords

Comments

Are the values a(53) = 266111 and a(54) = 4294978733 correct? - Antti Karttunen, Jun 19 2007

Examples

			a(53) = 266111 = 2^18 - 3967, where 3967 = prime(549).
a(54) = 4294978733 = 2^32 - 11437, where 11437 = prime(1379).
a(55) = 37778931862957161731461 = 2^75 - 21893, where 21893 = prime(2456).
a(56) = 37778931862957161765331 = 2^75 - 55763, where 55763 = prime(5658).
a(57) = 2787593149816327892691964784081045188361473 = 2^141 - 113921, where 113921 = prime(10782).
a(58) = 2^835 - 983063, where 983063 = prime(77280). (252 digits)
a(59) = 2^1322 - 3993547, where 3993547 = prime(282738). (398 digits)
a(60) = 2^5945 - 42565109, where 42565109 = prime(2579884). (1790 digits)
a(61) = 2^16116 - 52274777, where 52274777 = prime(3129277). (4852 digits)
		

Crossrefs

Programs

  • Mathematica
    pmin = 0; pm0 = 2^16384; mpm =0; ppm = 0; mcm = 0; pcm = 0; p = 1; While[pmin < pm0, pmin = pm0; = 0; nu2 = 1; cm = nu2 - p; cp = nu2 + p; While[(n < 16383) && (cm < pmin), If[(cp < pmin) && PrimeQ[cp], pmin = cp]; acm = Abs[cm]; If[(mpm < pmin) && PrimeQ[p], mpm = pmin; ppm = p; Save["pinc.txt", {mpm, ppm}]]; p = p + 2]

Formula

a(n) = A130971(A130972(n)).

Extensions

Edited, Scheme-code added and starting offset changed from 0 to 1 by Antti Karttunen, Jun 19 2007
Confirmed a(1)-a(54), extend to a(61) by Ray Chandler, Aug 06 2010

A103149 a(1)=3, a(n) = A000040(A130972(n)).

Original entry on oeis.org

3, 5, 17, 31, 73, 79, 89, 113, 127, 179, 193, 257, 271, 281, 311, 337, 389, 443, 457, 491, 599, 647, 659, 701, 757, 809, 839, 877, 907, 997, 1049, 1087, 1117, 1201, 1229, 1249, 1259, 1303, 1327, 1381, 1439, 1451, 1499, 1597, 1619, 1657, 1759, 1871, 1889, 1933
Offset: 1

Views

Author

Lei Zhou, Feb 05 2005

Keywords

Crossrefs

Programs

  • Mathematica
    pmin = 0; pm0 = 2^16384; mpm = 0; ppm = 0; mcm = 0; pcm = 0; p = 1; While[pmin < pm0, pmin = pm0; = 0; nu2 = 1; cm = nu2 - p; cp = nu2 + p; While[(n < 16383) && (cm < pmin), If[(cp < pmin) && PrimeQ[cp], pmin = cp];acm = Abs[cm]; If[(mpm < pmin) && PrimeQ[p], mpm = pmin; ppm = p; Save["pinc.txt", {mpm, ppm}]]; p = p + 2]
  • Scheme
    (define (A103149 n) (if (= n 1) 3 (A000040 (A130972 n))))

Extensions

Edited, Scheme-code added and starting offset changed from 0 to 1 by Antti Karttunen, Jun 19 2007
Showing 1-2 of 2 results.