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.

A090097 Bases n such that the smallest prime-power-pseudoprime to base n is 9.

Original entry on oeis.org

8, 10, 19, 26, 28, 35, 44, 46, 55, 62, 64, 71, 80, 82, 91, 98, 100, 107, 116, 118, 127, 134, 136, 143, 152, 154, 163, 170, 172, 179, 188, 190, 199, 206, 208, 215, 224, 226, 235, 242, 244, 251, 260, 262, 271, 278, 280, 287, 296, 298, 307, 314, 316, 323, 332, 334
Offset: 1

Views

Author

Labos Elemer, Dec 01 2003

Keywords

Comments

Values of x such that A090096(x) = 9.

Crossrefs

Programs

  • Mathematica
    pspQ[n_,b_] := CompositeQ[n] &&  PowerMod[b, n - 1,n ] == 1 ; aQ[n_]:=pspQ[9, n] && AllTrue[{4,8}, !pspQ[#, n] &]; Select[Range[1000], aQ] (* Amiram Eldar, Sep 09 2019 *)

Extensions

More terms from Amiram Eldar, Sep 09 2019

A090098 Bases such that the smallest prime-power-pseudoprime is belonging to equals 25.

Original entry on oeis.org

7, 18, 24, 32, 43, 51, 68, 74, 76, 99, 124, 126, 132, 151, 168, 174, 176, 182, 207, 218, 232, 243, 268, 274, 276, 282, 299, 318, 324, 326, 351, 374, 376, 382, 399, 407, 418, 426, 432, 443, 468, 474, 482, 499, 507, 518, 524, 526, 543, 551, 574, 576, 582, 599, 607
Offset: 1

Views

Author

Labos Elemer, Dec 01 2003

Keywords

Comments

Values of x such that A090096(x) = 25.

Crossrefs

Programs

  • Mathematica
    pspQ[n_,b_] := CompositeQ[n] &&  PowerMod[b, n - 1,n ] == 1 ; aQ[n_]:=pspQ[25, n] && AllTrue[{4,8,9,16}, !pspQ[#, n] &]; Select[Range[1000], aQ] (* Amiram Eldar, Sep 09 2019 *)

Extensions

More terms from Amiram Eldar, Sep 09 2019

A090099 Smallest bases the smallest true-prime-power-pseudoprime is belonging to equals a true power of n-th prime.

Original entry on oeis.org

1, 8, 7, 30, 3, 22, 38, 54, 42, 14
Offset: 1

Views

Author

Labos Elemer, Dec 01 2003

Keywords

Examples

			n=10: p[10]=29, a[10]=14 because -1+14^(841-1)=840.k,
and in A020142 the terms<841 are not powers of primes.
Corresponding least p-power pseudoprimes are 4,9,25,49,121,..,841,..
		

Crossrefs

Showing 1-3 of 3 results.