login
The OEIS is supported by the many generous donors to the OEIS Foundation.

 

Logo
Hints
(Greetings from The On-Line Encyclopedia of Integer Sequences!)
A057895 Nonnegative numbers which can be written as m^k-m [with m and k nonnegative and 0^0 taken as 1]. 6
0, 1, 2, 6, 12, 14, 20, 24, 30, 42, 56, 60, 62, 72, 78, 90, 110, 120, 126, 132, 156, 182, 210, 240, 252, 254, 272, 306, 336, 342, 380, 420, 462, 504, 506, 510, 552, 600, 620, 650, 702, 720, 726, 756, 812, 870, 930, 990, 992, 1020, 1022, 1056, 1122, 1190, 1260 (list; graph; refs; listen; history; text; internal format)
OFFSET
0,3
LINKS
EXAMPLE
a(8)=30 is in the sequence since 30=2^6-2 (and also =6^2-6).
MAPLE
N:= 1000: # to get all entries up to N
S:= {0, 1}:
for m from 2 to floor((1+sqrt(1+4*N))/2) do
S:= S union {seq(m^k - m, k=2 .. floor(log(N+m)/log(m)))}
end do:
S; # Robert Israel, Feb 12 2013
CROSSREFS
Sequence in context: A079849 A260907 A333833 * A111369 A190503 A320149
KEYWORD
nonn
AUTHOR
Henry Bottomley, Sep 26 2000
STATUS
approved

Lookup | Welcome | Wiki | Register | Music | Plot 2 | Demos | Index | Browse | More | WebCam
Contribute new seq. or comment | Format | Style Sheet | Transforms | Superseeker | Recents
The OEIS Community | Maintained by The OEIS Foundation Inc.

License Agreements, Terms of Use, Privacy Policy. .

Last modified April 25 12:33 EDT 2024. Contains 371969 sequences. (Running on oeis4.)