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!)
A061872 |First digit - second digit + third digit - fourth digit ...| = 3. 1
3, 14, 25, 30, 36, 41, 47, 52, 58, 63, 69, 74, 85, 96, 102, 113, 124, 135, 140, 146, 151, 157, 162, 168, 173, 179, 184, 195, 201, 212, 223, 234, 245, 250, 256, 261, 267, 272, 278, 283, 289, 294, 300, 311, 322, 333, 344, 355, 360, 366, 371, 377, 382, 388, 393 (list; graph; refs; listen; history; text; internal format)
OFFSET

1,1

LINKS

Harvey P. Dale, Table of n, a(n) for n = 1..1000

MATHEMATICA

Do[ a = IntegerDigits[ n ]; 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} ]; If[ Abs[ Apply[ Plus, o ] - Apply[ Plus, e ] ] == 3, Print[ n ] ], {n, 1, 1000} ]

fdsdQ[n_]:=Module[{idn=IntegerDigits[n], o, e}, o=Take[idn, {1, -1, 2}]; e= Take[ idn, {2, -1, 2}]; Abs[Total[o]-Total[e]]==3]; Select[Range[400], fdsdQ] (* Harvey P. Dale, Nov 01 2011 *)

CROSSREFS

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

Sequence in context: A019003 A019033 A171789 * A017425 A302758 A063098

Adjacent sequences:  A061869 A061870 A061871 * A061873 A061874 A061875

KEYWORD

nonn,base,easy

AUTHOR

Robert G. Wilson v, May 10 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 April 5 19:46 EDT 2020. Contains 333257 sequences. (Running on oeis4.)