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.

A195327 Number of bases to which terms of A194946 are pseudoprime.

Original entry on oeis.org

2, 4, 8, 16, 36, 40, 48, 100, 144, 324, 484, 900, 1296, 1764, 2116, 2704, 3600, 6084, 9216, 13728, 19044, 24336, 30000, 39204, 39360, 44100, 51984, 63888, 72900, 81648, 93636, 108900, 112896, 133956, 142884, 191844, 229376, 248004, 269568, 298116
Offset: 1

Views

Author

Keywords

Crossrefs

Programs

  • PARI
    bases(n)=my(f=factor(n)[, 1]); n--; prod(i=1, #f, gcd(f[i]-1, n)) \\ Given a value of A194946, this function transforms it to a term of this sequence.