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.

A194607 Record values in A194606.

Original entry on oeis.org

0, 1, 2, 4, 5, 6, 11, 17, 20, 28, 70, 99, 150, 726, 7431, 22394, 85461, 191207
Offset: 1

Views

Author

Arkadiusz Wesolowski, Aug 30 2011

Keywords

Comments

The index sequence of this one is 1, 3, 6, 15, 17, 29, 53, 115, 186, 220, 229, 1886, 5344, 5736, 66774, 1087403, 14747671, 158018119.
a(17) was found in 2000 by Wilfrid Keller and a(18) was found in 2003 by Patrick De Geest.

Examples

			A194606(53) = 11 since A194606(115) = 17 is the next record value.
		

References

  • Wilfrid Keller, personal communication, 2010.

Crossrefs

Programs

  • Mathematica
    l = -1; Flatten[Table[p = Prime[n]; k = 0; While[! PrimeQ[p*2^k - 1] && ! PrimeQ[p*2^k + 1], k++]; If[k > l, l = k, {}], {n, 10^4}]] (* Arkadiusz Wesolowski, Sep 04 2011 *)

A194637 Record values in A194636.

Original entry on oeis.org

0, 1, 2, 4, 5, 6, 11, 18, 20, 28, 70, 106, 150, 726, 2906, 7431, 14073, 22394, 41422, 82587, 85461, 356981
Offset: 1

Views

Author

Arkadiusz Wesolowski, Aug 31 2011

Keywords

Comments

The index sequence is 1, 3, 7, 24, 30, 55, 121, 168, 555, 687, 724, 7447, 26134, 28272, 324802, 419221, 4420051, 8467881, 50302257, 59186640, 135352084, 677738616, ... given by formula (A194639(n)+1)/2.

Examples

			A194636(55) = 6 since A194636(121) = 11 is the next record value.
		

References

  • Wilfrid Keller, personal communication, 2010.

Crossrefs

Programs

  • Mathematica
    l = -1; Flatten[Table[n = 2*n - 1; k = 0; While[! PrimeQ[n*2^k - 1] && ! PrimeQ[n*2^k + 1], k++]; If[k > l, l = k, {}], {n, 10^5}]] (* Arkadiusz Wesolowski, Sep 04 2011 *)

Formula

a(n) = A194591(A194639(n)) = A194636((A194639(n)+1)/2).

Extensions

a(22) was found in 2002 by Wilfrid Keller.

A217892 Indices of records in A194591.

Original entry on oeis.org

1, 5, 13, 47, 59, 109, 241, 335, 1109, 1373, 1447, 14893, 37892, 56543, 185644, 649603, 838441, 8840101, 16935761, 100604513, 118373279, 270704167, 1355477231
Offset: 1

Views

Author

Max Alekseyev, Oct 14 2012

Keywords

Comments

Record values are given by A194600.

Crossrefs

Programs

  • Mathematica
    a[n_]:= (k=0; While[!PrimeQ[n*2^k-1] && !PrimeQ[n*2^k+1], k++]; k); w = {1}; v = {0}; Do[If[a[n]>v[[-1]], AppendTo[v, a[n]]; Print[n]], {n, 1356000000}] (* Farideh Firoozbakht, Oct 16 2014 *)

Extensions

a(23)=A194639(22) from Wilfrid Keller, added by Max Alekseyev, Oct 18 2014
Previous Showing 11-13 of 13 results.