OFFSET
0,3
LINKS
EXAMPLE
For n = 2:
- the primorial base representation of 2 is "10", so:
1 0
x 1 0
-----
0 0
+ 1 0
-------
1 0 0
- hence a(2) = 2*3 = 6.
PROG
(PARI) See Links section.
CROSSREFS
KEYWORD
nonn,base
AUTHOR
Rémy Sigrist, Apr 05 2021
STATUS
approved