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.

A255429 Numbers with a prime number of nontrivial divisors.

This page as a plain text file.
%I A255429 #22 Jan 13 2023 09:18:41
%S A255429 6,8,10,14,15,16,21,22,26,27,33,34,35,36,38,39,46,51,55,57,58,62,64,
%T A255429 65,69,74,77,81,82,85,86,87,91,93,94,95,100,106,111,115,118,119,122,
%U A255429 123,125,129,133,134,141,142,143,144,145,146,155,158,159,161,166,177,178,183,185,187,194,196
%N A255429 Numbers with a prime number of nontrivial divisors.
%C A255429 Empirically, numbers in this sequence seem to have few divisors.
%C A255429 This sequence appears to be the union of A130763 and the squares of A225649. - _Kellen Myers_, Apr 21 2015
%F A255429 {n: A070824(n) in A000040}.
%t A255429 seq[n_] := Select[Range[n], PrimeQ[DivisorSigma[0, #] - 2] &] (* _Kellen Myers_, Apr 21 2015 *)
%o A255429 (Magma) [n: n in [1..200] | IsPrime(NumberOfDivisors(n)-2)]; // _Vincenzo Librandi_, Apr 21 2015
%o A255429 (PARI) isok(m) = isprime(numdiv(m)-1); \\ _Michel Marcus_, Jan 13 2023
%Y A255429 Cf. A063806, A070824, A130763, A225649.
%K A255429 nonn
%O A255429 1,1
%A A255429 _Rory Glover_, Feb 22 2015
%E A255429 Terms fixed by _Kellen Myers_, Apr 21 2015
%E A255429 Name corrected by _Michel Marcus_, Jan 13 2023