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.

A029560 Quasi-Carmichael numbers to base 3: squarefree composites n such that prime p|n ==> p-3|n-3.

Original entry on oeis.org

35, 1295, 2635, 6083, 6923, 7315, 7843, 13363, 24335, 25795, 26243, 29795, 31003, 43043, 44099, 49283, 50435, 54131, 115843, 138043, 147223, 191843, 234883, 254467, 388433, 471523, 472739, 544643, 618103, 631123, 725903, 790195, 819283, 862403
Offset: 1

Views

Author

Keywords

Comments

Define C(k) to be the numbers n such that n is composite and squarefree and for p prime, p|n => p+k|n+k (p+k and n+k positive); sequence gives C(-3).
These are called 3-Korselt numbers by Bouallegue et al.

Crossrefs

Programs

  • Mathematica
    qcm[n_, d_] := Block[{p, e}, {p, e} = Transpose@FactorInteger@n; Length[p] > 1 && Max[e] == 1 && ! MemberQ[p, d] && Max@ Mod[n-d, p-d] == 0]; Select[Range[10^5],  qcm[#, 3] &] (* Giovanni Resta, May 21 2013 *)