login
A280705
a(n) = A002110(A280700(n)) = A046523(A283475(n)).
3
1, 2, 6, 2, 30, 2, 6, 30, 210, 2, 6, 30, 30, 210, 30, 30, 2310, 2, 6, 30, 30, 210, 30, 30, 210, 2310, 30, 30, 210, 210, 30, 210, 30030, 2, 6, 30, 30, 210, 30, 30, 210, 2310, 30, 30, 210, 210, 30, 210, 2310, 30030, 30, 30, 210, 210, 30, 210, 2310, 2310, 30, 210, 210, 2310, 30030, 210, 510510, 2, 6, 30, 30, 210, 30, 30
OFFSET
0,2
LINKS
FORMULA
a(n) = A002110(A280700(n)) = A046523(A283475(n)).
MATHEMATICA
Table[Times @@ Prime@ Range@ DigitCount[2 n - DigitCount[2 n, 2, 1], 2, 1], {n, 0, 71}] (* or *)
Map[Times @@ MapIndexed[Prime[First[#2]]^#1 &, Reverse@ Sort[FactorInteger[#][[All, -1]]]] - Boole[# == 1] &, Map[Times @@ Prime@ Flatten@ Position[#, 1] &@ Reverse@ IntegerDigits[#, 2] &, Table[2 n - DigitCount[2 n, 2, 1], {n, 0, 71}]]] (* Michael De Vlieger, Mar 18 2017 *)
PROG
(Scheme)
(define (A280705 n) (A002110 (A280700 n)))
(define (A280705 n) (A046523 (A283475 n)))
CROSSREFS
KEYWORD
nonn
AUTHOR
Antti Karttunen, Mar 16 2017
STATUS
approved