OFFSET
1,2
LINKS
Antti Karttunen, Table of n, a(n) for n = 1..8192
MATHEMATICA
f[n_] := Times @@ Power[If[# == 1, 1, NextPrime[#, -1]] & /@ First@ #, Last@ #] &@ Transpose@ FactorInteger[2 n - 1]; g[n_] := (Times @@ Power[If[# == 1, 1, NextPrime@ #] & /@ First@ #, Last@ #] + 1)/2 &@ Transpose@ FactorInteger@ n; Map[FromDigits[#, 2] &[IntegerDigits[#, 3] /. 2 -> 0] &, Map[a, Array[g, 91]]] (* Michael De Vlieger, Sep 16 2017 *)
CROSSREFS
KEYWORD
nonn
AUTHOR
Antti Karttunen, Sep 16 2017
STATUS
approved