OFFSET
1,2
COMMENTS
As prime(1)=2, this sequence can always be extended with an even number.
This sequence is a permutation of the natural numbers, with inverse A285041 (say prime(k) divides n: the sequence contains all the multiples of 2*k, hence n will eventually be chosen).
This sequence has a fractal structure that is highlighted in the illustrations of some derived sequences in the Links section.
LINKS
Rémy Sigrist, Table of n, a(n) for n = 1..10000
Rémy Sigrist, Scatterplot of a(n)-n
Rémy Sigrist, Scatterplot of Sum_{k=1..n} (-1)^a(n)
Rémy Sigrist, PARI program for A285039
CROSSREFS
KEYWORD
nonn
AUTHOR
Rémy Sigrist, Apr 08 2017
STATUS
approved