Logo

Greetings from The On-Line Encyclopedia of Integer Sequences!

Hints

Search: id:A061870
Displaying 1-1 of 1 results found. page 1
     Format: long | short | internal | text      Sort: relevance | references | number      Highlight: on | off
A061870 Numbers with property that |first digit - second digit + third digit - fourth digit ...| = 1. +0
27
1, 10, 12, 21, 23, 32, 34, 43, 45, 54, 56, 65, 67, 76, 78, 87, 89, 98, 100, 111, 120, 122, 131, 133, 142, 144, 153, 155, 164, 166, 175, 177, 186, 188, 197, 199, 210, 221, 230, 232, 241, 243, 252, 254, 263, 265, 274, 276, 285, 287, 296, 298, 320, 331, 340, 342 (list; graph; listen)
OFFSET

1,2

EXAMPLE

120 is in the sequence since |1-2+0| = 1.

MATHEMATICA

fQ[n_] := Abs[Plus @@ (((-1)^Range[Floor[Log[10, n] + 1]])*IntegerDigits@n)] == 1; Select[ Range@342, fQ@# &]

CROSSREFS

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

Sequence in context: A035284 A082927 A108965 this_sequence A120001 A108703 A098785

Adjacent sequences: A061867 A061868 A061869 this_sequence A061871 A061872 A061873

KEYWORD

nonn,base,easy

AUTHOR

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 December 1 13:27 EST 2009. Contains 167806 sequences.


AT&T Labs Research