OFFSET
1,2
COMMENTS
sequences of powers of primes are subsequences;
In other words: numbers n with the property that all parts in the symmetric representation of sigma(n) have width 1. - Omar E. Pol, Dec 08 2016
Sequence A357581 shows the numbers organized in columns of a square array by the number of parts in their symmetric representation of sigma. - Hartmut F. W. Hoft, Oct 04 2022
LINKS
Reinhard Zumkeller, Table of n, a(n) for n = 1..10000
Hartmut F. W. Hoft, Proof that this sequence equals union of A241008 and A241010
MAPLE
filter:= proc(n)
local d, q;
d:= numtheory:-divisors(n);
min(seq(d[i+1]/d[i], i=1..nops(d)-1)) >= 2
end proc:
select(filter, [$1..1000]); # Robert Israel, Aug 08 2014
MATHEMATICA
(* it suffices to test adjacent divisors *)
a174905[n_] := Module[{d = Divisors[n]}, ! Apply[Or, Map[2 #[[1]] > #[[2]] &, Transpose[{Drop[d, -1], Drop[d, 1]}]]]]
(* Hartmut F. W. Hoft, Aug 07 2014 *)
Select[Range[106], !MatchQ[Divisors[#], {___, d_, e_, ___} /; e < 2d]& ] (* Jean-François Alcover, Jan 31 2018 *)
PROG
(Haskell)
a174905 n = a174905_list !! (n-1)
a174905_list = filter ((== 0) . a174903) [1..]
-- Reinhard Zumkeller, Sep 29 2014
CROSSREFS
KEYWORD
nonn
AUTHOR
Reinhard Zumkeller, Apr 01 2010
STATUS
approved