OFFSET
0,3
COMMENTS
Two observations (not yet proved): from n=3 onward each term is alternatively negative and positive, and from n=4 onward the terms a(2n-1) and a(2n) seem to have at least the rightmost digit same in their decimal representation.
LINKS
Antti Karttunen, Table of n, a(n) for n = 0..1024
MATHEMATICA
a[n_] := a[n] = Which[n < 2, n + 1, EvenQ@ n, Times @@ Map[#1^#2 & @@ # &, FactorInteger[#] /. {p_, e_} /; e > 0 :> {Prime[PrimePi@ p + 1], e}] - Boole[# == 1] &@ a[n/2], True, a[#] a[# + 1] &[(n - 1)/2]]; Differences@ Table[a@ n, {n, 0, 51}] (* Michael De Vlieger, Apr 05 2017 *)
CROSSREFS
KEYWORD
sign,look
AUTHOR
Antti Karttunen, Oct 10 2016
STATUS
approved