Logo

Greetings from The On-Line Encyclopedia of Integer Sequences!

Hints

Search: id:A061479
Displaying 1-1 of 1 results found. page 1
     Format: long | short | internal | text      Sort: relevance | references | number      Highlight: on | off
A061479 Smallest number m such that first digit - second digit + third digit - fourth digit ... (of m) = n. +0
27
0, 1, 2, 3, 4, 5, 6, 7, 8, 9, 109, 209, 309, 409, 509, 609, 709, 809, 909, 10909, 20909, 30909, 40909, 50909, 60909, 70909, 80909, 90909, 1090909, 2090909, 3090909, 4090909, 5090909, 6090909, 7090909, 8090909, 9090909, 109090909, 209090909 (list; graph; listen)
OFFSET

0,3

EXAMPLE

a(14) = 509 as 5-0+9 =14 and it is the smallest such number.

MATHEMATICA

m = 0; Do[ While[ a = IntegerDigits[ m ]; l = Length[ a ]; e = o = {}; Do[ o = Append[ o, a[ [ 2k - 1 ] ] ], {k, 1, l/2 + .5} ]; Do[ e = Append[ e, a[ [ 2k ] ] ], {k, 1, l/2} ]; Abs[ Apply[ Plus, o ] - Apply [ Plus, e ] ] != n, m++ ]; Print[ m ], {n, 1, 50} ]

CROSSREFS

Cf. A008593, A060978-A060980, A060982, A061470-A061478, A061870-A061882.

Sequence in context: A030147 A154562 A077726 this_sequence A028431 A056143 A106003

Adjacent sequences: A061476 A061477 A061478 this_sequence A061480 A061481 A061482

KEYWORD

nonn,base

AUTHOR

Amarnath Murthy (amarnath_murthy(AT)yahoo.com), May 05 2001

EXTENSIONS

More terms from Robert G. Wilson v (rgwv(AT)rgwv.com), May 10 2001

page 1

Search completed in 0.002 seconds

Lookup | Welcome | Find friends | Music | Plot 2 | Demos | Index | Browse | More | WebCam
Contribute new seq. or comment | Format | Transforms | Puzzles | Hot | Classics
More pages | Superseeker | Maintained by N. J. A. Sloane (njas@research.att.com)

Last modified November 27 22:38 EST 2009. Contains 167602 sequences.


AT&T Labs Research