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

 

Logo


Hints
(Greetings from The On-Line Encyclopedia of Integer Sequences!)
A057717 The non-powers of 10. 1
0, 2, 3, 4, 5, 6, 7, 8, 9, 11, 12, 13, 14, 15, 16, 17, 18, 19, 20, 21, 22, 23, 24, 25, 26, 27, 28, 29, 30, 31, 32, 33, 34, 35, 36, 37, 38, 39, 40, 41, 42, 43, 44, 45, 46, 47, 48, 49, 50, 51, 52, 53, 54, 55, 56, 57, 58, 59, 60, 61, 62, 63, 64, 65, 66, 67, 68, 69, 70 (list; graph; refs; listen; history; text; internal format)
OFFSET

0,2

COMMENTS

a(n) is the length signature of a string plus its length.

LINKS

Table of n, a(n) for n=0..68.

FORMULA

a(n) = ceiling(log_10(a(n) + 1)) + n.

Find k such that 10^k - (k + 1) <= n < 10^(k+1) - (k + 2), then a(n) = n + k + 1.

MATHEMATICA

With[{upto=100}, Complement[Range[0, upto], 10^Range[0, Floor[Log10[ upto]]]]] (* Harvey P. Dale, Nov 01 2016 *)

CROSSREFS

Complement of A011557. Cf. A057716.

Sequence in context: A033865 A118764 A226134 * A183222 A063742 A014089

Adjacent sequences:  A057714 A057715 A057716 * A057718 A057719 A057720

KEYWORD

nonn

AUTHOR

John Lindgren (john.lindgren(AT)Eng.Sun.COM), Oct 24 2000

EXTENSIONS

Better description from Ahmed Fares (ahmedfares(AT)my-deja.com), Apr 29 2001

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 July 17 02:10 EDT 2019. Contains 325092 sequences. (Running on oeis4.)