|
|
A225228
|
|
Numbers with prime signatures (1,1,1) or (2,2,1) or (3,2,2).
|
|
6
|
|
|
30, 42, 66, 70, 78, 102, 105, 110, 114, 130, 138, 154, 165, 170, 174, 180, 182, 186, 190, 195, 222, 230, 231, 238, 246, 252, 255, 258, 266, 273, 282, 285, 286, 290, 300, 310, 318, 322, 345, 354, 357, 366, 370, 374, 385, 396, 399, 402, 406, 410, 418, 426, 429
(list;
graph;
refs;
listen;
history;
text;
internal format)
|
|
|
OFFSET
|
1,1
|
|
COMMENTS
|
|
|
LINKS
|
|
|
FORMULA
|
|
|
EXAMPLE
|
A050326(30) = #{30, 15*2, 10*3, 6*5, 5*3*2} = 5;
A050326(180) = #{30*6, 30*3*2, 15*6*2, 10*6*3, 6*5*3*2} = 5;
A179695(1) = 2^3*3^2*5^2 = 1800, A206778(1800,1..8)=[1,2,3,5,6,10,15,30]:
A050326(1800) = #{30*10*6, 30*6*5*2, 30*10*3*2, 15*10*6*2, 10*6*5*3*2} = 5.
|
|
PROG
|
(Haskell)
a225228 n = a225228_list !! (n-1)
a225228_list = filter f [1..] where
f x = length es == 3 && sum es `elem` [3, 5, 7] &&
maximum es - minimum es <= 1
where es = a124010_row x
(PARI) is(n)=my(f=vecsort(factor(n)[, 2]~)); f==[1, 1, 1] || f==[1, 2, 2] || f==[2, 2, 3] \\ Charles R Greathouse IV, Jul 28 2016
|
|
CROSSREFS
|
|
|
KEYWORD
|
nonn
|
|
AUTHOR
|
|
|
STATUS
|
approved
|
|
|
|