hi , how can one generate the following series: A046034 - OEIS
Is there any formula to it?
I thought of calculating the nth term as:
convert the nth term to base 4, then map the digits as 0->2, 1->3,2->5 and 3->7 and then convert the resultant exp to base 10
but it doesn't seem to work.
Any other way?