OFFSET
1,2
COMMENTS
Sequence has positive density, between 0.83 and 0.89; probably about 0.87951.
The numbers of terms not exceeding 10^k, for k=1,2,..., are 9, 90, 880, 8796, 87956, 879518, 8795126, 87951173, 879511794, ... The asymptotic density of this sequence is Product_{p prime} (1 - 1/p^3 + Sum_{q prime >= 5} (p-1)/p^q) = 0.87951176583716527413... - Amiram Eldar, Mar 20 2021
LINKS
Reinhard Zumkeller, Table of n, a(n) for n = 1..10000
Paul Erdős and Leon Mirsky, The distribution of values of the divisor function d(n), Proc. London Math. Soc., Vol. s3-2, No. 1 (1952), pp. 257-271; alternative link.
MATHEMATICA
Select[Range[100], AllTrue[Transpose[FactorInteger[#]][[2]]+1, PrimeQ]&] (* Harvey P. Dale, Sep 29 2014 *)
PROG
(PARI) is(n)=vecmin(apply(n->isprime(n+1), factor(max(n, 2))[, 2])) \\ Charles R Greathouse IV, Dec 07 2012
(Haskell)
a220218 n = a220218_list !! (n-1)
a220218_list = 1 : filter
(all (== 1) . map (a010051' . (+ 1)) . a124010_row) [1..]
-- Reinhard Zumkeller, Nov 30 2015
CROSSREFS
KEYWORD
nonn
AUTHOR
Charles R Greathouse IV, Dec 07 2012
STATUS
approved