OFFSET
1,3
COMMENTS
This is a finite sequence. a(505) = 999 is the last term.
LINKS
Nathaniel Johnston, Table of n, a(n) for n = 1..505 (full sequence)
Eric Weisstein's World of Mathematics, Cubic Numbers.
EXAMPLE
The last three digits of n^3 can be 111, 112, 113, etc. but not 114, 115, 116, etc.
MAPLE
s:={}: for n from 0 to 999 do s:=s union {n^3 mod 1000}: od: op(s); # Nathaniel Johnston, Jun 22 2011
CROSSREFS
KEYWORD
base,fini,full,easy,nonn
AUTHOR
Sergio Pimentel, Sep 22 2006
STATUS
approved