login
The OEIS Foundation is supported by donations from users of the OEIS and by a grant from the Simons 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]. 5
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

Robert Israel, Table of n, a(n) for n = 0..10000

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

Cf. A000918, A057896, A308324.

Sequence in context: A079849 A260907 A333833 * A111369 A190503 A320149

Adjacent sequences:  A057892 A057893 A057894 * A057896 A057897 A057898

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 | Recent
The OEIS Community | Maintained by The OEIS Foundation Inc.

License Agreements, Terms of Use, Privacy Policy. .

Last modified June 1 00:27 EDT 2020. Contains 334756 sequences. (Running on oeis4.)