1,2

Is this sequence complete?

1 here is considered to be both the first squarefree integer and the first power of a prime.

Table of n, a(n) for n=1..6.

Shawn A. Broyles, Lua script

If A005117(m) and A000961(m) are the same, a(n) is the m-th term.

For m = 1, A005117(m) and A000961(m) are both 1. a(1) = 1.

For m = 2, A005117(m) and A000961(m) are both 2. a(2) = 2.

For m = 3, A005117(m) and A000961(m) are both 3. a(3) = 3.

For m = 6, A005117(m) and A000961(m) are both 7. a(4) = 7.

For m = 12, A005117(m) and A000961(m) are both 17. a(5) = 17.

For m = 13, A005117(m) and A000961(m) are both 19. a(6) = 19.

Cf. A000961, A005117.

Sequence in context: A141795 A077322 A174359 * A154431 A256917 A089144

Adjacent sequences: A160510 A160511 A160512 * A160514 A160515 A160516

fini,more,nonn

Leroy Quet, May 16 2009

Definition rewritten by N. J. A. Sloane, May 21 2009

approved