OFFSET
1,1
COMMENTS
Since A119479(8)=7, there are never more than 7 consecutive terms. Runs of 7 consecutive terms start at 171897, 180969, 647385, ... (subsequence of A049053). - Ivan Neretin, Feb 08 2016
LINKS
Jon E. Schoenfield, Table of n, a(n) for n = 1..10000 (first 1000 terms from R. J. Mathar)
Jérôme Germoni, Nombres à huit diviseurs, Images des Mathématiques, CNRS, 2017 (in French).
Eric Weisstein's World of Mathematics, Divisor Product.
FORMULA
A000005(a(n))=8. - Juri-Stepan Gerasimov, Oct 10 2009
MAPLE
select(numtheory:-tau=8, [$1..1000]); # Robert Israel, Dec 17 2014
MATHEMATICA
Select[Range[400], DivisorSigma[0, #]== 8 &] (* Vincenzo Librandi, Oct 05 2017 *)
PROG
(PARI) Vec(select(x->x==8, vector(500, i, numdiv(i)), 1)) \\ Michel Marcus, Dec 17 2014
(Magma) [n: n in [1..400] | DivisorSigma(0, n) eq 8]; // Vincenzo Librandi, Oct 05 2017
(Python)
from sympy import divisor_count
isok = lambda n: divisor_count(n) == 8
print([n for n in range(1, 400) if isok(n)]) # Darío Clavijo, Oct 17 2023
CROSSREFS
KEYWORD
nonn,changed
AUTHOR
STATUS
approved