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.

A079543 Numbers k such that k has at least two distinct prime factors and if a prime p divides k then (p-1) | (k-1) and (p+1) | (k+1).

Original entry on oeis.org

74431, 71528191, 125780831, 178708831, 4150390625, 68738591551, 171739186591, 429079903231, 634061169071
Offset: 1

Views

Author

Don Reble, Jan 22 2003

Keywords

Examples

			a(1) = 74431 = 7^4 * 31 because 6 and 30 divide 74430 and 8 and 32 divide 74432.
		

Crossrefs

Intersection of A056729 and A080062, minus A001597.

Programs

  • Mathematica
    Do[ f = Transpose[ FactorInteger[n]][[1]]; If[ Length[f] > 1 && Union[ Mod[n - 1, f - 1]] == {0} && Union[ Mod[n + 1, f + 1]] == {0}, Print[n]], {n, 6, 10^10}]

Extensions

a(6)-a(7) from Donovan Johnson, Apr 09 2010
a(8)-a(9) from Donovan Johnson, Jan 21 2013