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.

A254748 Numbers without superdivisors: numbers n such that n/k + n fails to divide at least one of (n/k)^(n/k) + n, (n/k)^n + n/k or n^(n/k) + n/k for any divisor k of n.

Original entry on oeis.org

2, 4, 6, 8, 12, 14, 16, 18, 20, 24, 26, 28, 30, 32, 38, 40, 42, 44, 48, 50, 52, 54, 56, 60, 62, 64, 66, 68, 72, 74, 80, 84, 86, 88, 90, 92, 96, 98, 100, 102, 104, 108, 110, 112, 114, 120, 122, 124, 126, 128, 132, 134, 138, 140, 144, 146, 148, 150, 152, 158, 160, 164, 168, 170, 172, 174
Offset: 1

Views

Author

Juri-Stepan Gerasimov, Feb 07 2015

Keywords

Comments

Zerosuperdivisor numbers. Numbers n such that A247477(n) = 0.
A000027 = zerosuperdivisor numbers U onesuperdivisor numbers U twosuperdivisor numbers U threesuperdivisor numbers U ...
Conjecture: Perfect numbers (A000396) are zerosuperdivisor numbers.
Conjecture: Average of twin prime pairs (A014574) are zerosuperdivisor numbers.
None of these numbers are odd or 10 mod 12 or 36 mod 40 or 78 mod 84 or 136 mod 144 or ... - Charles R Greathouse IV, Feb 19 2015

Examples

			2 is in this sequence because 2/1 + 2 does not divide (2/1)^(2/1) + 2, (2/1)^2 + 2/1, 2^(2/1) + 2/1 and 2/2 + 2 does not divide (2/2)^(2/2) + 2, (2/2)^2 + 2/2, 2^(2/2) + 2/2: 4 does not divide 6, 6, 6 and 3 does not divide 3, 2, 3.
		

Crossrefs

Cf. A000027, A000396, A014574, A247477 (definition of superdivisor).

Programs

  • Mathematica
    superdivisors[n_] := Select[Range@ n, And[Mod[(n/#)^(n/#) + n, n/# + n] == 0, Mod[(n/#)^n + n/#, n/# + n] == 0, Mod[n^(n/#) + n/#, n/# + n] == 0] &] /. {} -> 0; Position[Array[superdivisors, 174], 0] // Flatten (* Michael De Vlieger, Feb 09 2015 *)
  • PARI
    is(n)=fordiv(n,d,my(m=n/d,k=d+n); if(Mod(d,k)^d==-n && Mod(d,k)^n==-d && Mod(n,k)^d==-d, return(0))); 1 \\ Charles R Greathouse IV, Feb 19 2015