OFFSET
0,2
COMMENTS
This sequence is a self-inverse permutation of the nonnegative integers.
LINKS
Rémy Sigrist, Table of n, a(n) for n = 0..10000
Rémy Sigrist, Scatterplot of (x, y) such that x and y have no common 1 in their base phi representations and 0 <= x, y <= 1000
Rémy Sigrist, PARI program for A330984
Wikipedia, Golden ratio base
EXAMPLE
The first terms, alongside the base phi representations of n and of a(n), are:
n a(n) phi(n) phi(a(n))
-- ---- ---------- -------------
0 0 0 0
1 2 1 10.01
2 1 10.01 1
3 5 100.01 1000.1001
4 6 101.01 1010.0001
5 3 1000.1001 100.01
6 4 1010.0001 101.01
7 12 10000.0001 100000.101001
8 13 10001.0001 100010.001001
9 14 10010.0101 100100.001001
10 16 10100.0101 101000.100001
PROG
(PARI) See Links section.
CROSSREFS
KEYWORD
nonn,base
AUTHOR
Rémy Sigrist, Apr 23 2020
STATUS
approved