OFFSET
1,1
COMMENTS
With the exception of 2 those k where A051699(k) = A074989(k) (same distance to nearest prime and to nearest cube). - R. J. Mathar, Aug 08 2009
EXAMPLE
a(1) = 2 since 2 lies between 1 (cube) and 3 (prime);
a(2) = 28 since 28 lies between 27 (cube) and 29 (prime).
MAPLE
A163497 := proc(n) option remember ; local a; if n = 1 then 2; else for a from procname(n-1)+1 do if A051699(a) = A074989(a) then return a; end if; end do ; end if; end proc: # R. J. Mathar, Nov 01 2009
CROSSREFS
KEYWORD
nonn
AUTHOR
Gaurav Kumar, Jul 29 2009
EXTENSIONS
Edited by Zak Seidov, Aug 01 2009
Further edited by N. J. A. Sloane, Oct 31 2009
STATUS
approved