0,1

Charles R Greathouse IV, Table of n, a(n) for n = 0..10000

a(n) = A013632(n^3) = A013632(A000578(n)). - Michel Marcus, Oct 10 2013

a(6)=7 because next prime after 6^3=216 is 223 and 223-216=7.

(PARI) a(n) = nextprime(n^3) - n^3; \\ Michel Marcus, Oct 10 2013

Sequence in context: A100677 A188637 A083290 * A317963 A219609 A087825

Adjacent sequences: A121839 A121840 A121841 * A121843 A121844 A121845

nonn,easy

Zak Seidov, Aug 29 2006

approved