OFFSET
1,3
LINKS
Antti Karttunen, Table of n, a(n) for n = 1..10000
MATHEMATICA
a019565[n_]:=Times @@ Prime@ Flatten@ Position[#, 1] &@ Reverse@ IntegerDigits[n, 2] ; Select[Range[0, 100], a019565[#]># &] (* Indranil Ghosh, Apr 18 2017, after Michael De Vlieger *)
PROG
(PARI)
A019565(n) = {my(j, v); factorback(Mat(vector(if(n, #n=vecextract(binary(n), "-1..1")), j, [prime(j), n[j]])~))}; \\ This function from M. F. Hasler
isA285316(n) = (A019565(n) > n);
n=0; k=1; while(k <= 10000, if(isA285316(n), write("b285316.txt", k, " ", n); k=k+1); n=n+1);
(Scheme) ;; with Antti Karttunen's IntSeq-library
(Python)
from operator import mul
from sympy import prime
from functools import reduce
def a019565(n): return reduce(mul, (prime(i+1) for i, v in enumerate(bin(n)[:1:-1]) if v == '1')) if n > 0 else 1
print([n for n in range(101) if a019565(n)>n]) # Indranil Ghosh, Apr 18 2017, after Chai Wah Wu
CROSSREFS
KEYWORD
nonn
AUTHOR
Antti Karttunen, Apr 18 2017
STATUS
approved