OFFSET
1,1
MAPLE
A111267 := proc(nmin) local a, k, qn, dvs; a := [1] ; qn := 5 ; while nops(a) < nmin do dvs := sort([op(numtheory[divisors](qn))]) ; for k from 1 to nops(dvs) do if not dvs[k] in a then a := [op(a), dvs[k]] ; qn := qn+ithprime(nops(a)+1) ; break ; fi ; od ; od; RETURN(a) ; end: A111272 := proc(nmin) local a, a111267, n, i; a := [] ; a111267 := A111267(nmin) ; n := 1; while member( ithprime(n), a111267, 'i') do a := [op(a), i] ; n := n+1 ; od; RETURN(a) ; end: A111272(1000) ; # R. J. Mathar, Aug 20 2007
CROSSREFS
KEYWORD
nonn
AUTHOR
N. J. A. Sloane, Nov 03 2005
EXTENSIONS
More terms from R. J. Mathar, Aug 20 2007
STATUS
approved