login
This site is supported by donations to The OEIS Foundation.
Logo

Hints
(Greetings from The On-Line Encyclopedia of Integer Sequences!)
A061670 Distance to nearest power. 0
0, 1, 1, 0, 1, 2, 1, 0, 0, 1, 2, 3, 3, 2, 1, 0, 1, 2, 3, 4, 4, 3, 2, 1, 0, 1, 0, 1, 2, 2, 1, 0, 1, 2, 3, 4, 5, 6, 7, 8, 8, 7, 6, 5, 4, 3, 2, 1, 0, 1, 2, 3, 4, 5, 6, 7, 7, 6, 5, 4, 3, 2, 1, 0 (list; graph; refs; listen; history; internal format)
OFFSET

1,6

EXAMPLE

a(12)=3 because 9=3^2 is the nearest power to 12 (12-9=3).

CROSSREFS

Sequence in context: A025880 A058755 A128519 * A108063 A164846 A026729

Adjacent sequences:  A061667 A061668 A061669 * A061671 A061672 A061673

KEYWORD

nonn

AUTHOR

Michel ten Voorde (seqfan(AT)tenvoorde.org) Jun 16 2001

Lookup | Welcome | Wiki | Register | Music | Plot 2 | Demos | Index | Browse | More | WebCam
Contribute new seq. or comment | Format | Transforms | Puzzles | Hot | Classics
Recent Additions | More pages | Superseeker | Maintained by The OEIS Foundation Inc.

Content is available under The OEIS End-User License Agreement .

Last modified February 16 06:46 EST 2012. Contains 205867 sequences.