OFFSET
1,2
COMMENTS
This sequence is a variant of A329804; both sequences share graphical features.
This sequence is a self-inverse permutation of the positive integers.
Keyword "look" added in view of the scatterplot of 110000 terms. - N. J. A. Sloane, Nov 23 2019
LINKS
Rémy Sigrist, Table of n, a(n) for n = 1..21000
Rémy Sigrist, Scatterplot of the first 110000 terms
Rémy Sigrist, C program for A329850
FORMULA
a(a(n)) = n.
EXAMPLE
The first terms, alongside f(n), f(a(n)) and f(n*a(n)), are:
n a(n) f(n) f(a(n)) f(n*a(n))
-- ---- ---- ------- ---------
1 1 1 1 1
2 2 2 2 4
3 3 3 3 9
4 10 4 0 0
5 19 5 9 45
6 20 6 0 0
7 30 7 0 0
8 40 8 0 0
9 50 9 0 0
10 4 0 4 0
11 60 1 0 0
12 70 2 0 0
13 18 3 8 24
14 46 4 24 96
PROG
(C) See Links section.
CROSSREFS
KEYWORD
AUTHOR
Rémy Sigrist, Nov 22 2019
STATUS
approved