The OEIS mourns the passing of Jim Simons and is grateful to the Simons Foundation for its support of research in many branches of science, including the OEIS.
login
The OEIS is supported by the many generous donors to the OEIS Foundation.

 

Logo
Hints
(Greetings from The On-Line Encyclopedia of Integer Sequences!)
A061881 First (leftmost) digit - second digit + third digit - fourth digit .... = 12. 0
309, 408, 419, 507, 518, 529, 606, 617, 628, 639, 705, 716, 727, 738, 749, 804, 815, 826, 837, 848, 859, 903, 914, 925, 936, 947, 958, 969, 3090, 4080, 4091, 4190, 5070, 5081, 5092, 5180, 5191, 5290, 6060, 6071, 6082, 6093, 6170, 6181, 6192, 6280, 6291 (list; graph; refs; listen; history; text; internal format)
OFFSET
1,1
LINKS
MATHEMATICA
okQ[n_]:=Plus@@(Times@@#&/@Partition[Most[Riffle[IntegerDigits[10n], {1, -1}]], 2])==12; Select[Range[7000], okQ] (* Harvey P. Dale, Jan 17 2011 *)
okQ[n_] := Module[{d = IntegerDigits[n]}, Plus @@ Take[d, {1, Length[d], 2}] - Plus @@ Take[d, {2, Length[d], 2}] == 12]; Select[Range[7000], okQ]
CROSSREFS
Sequence in context: A159004 A031782 A060980 * A121322 A067730 A183627
KEYWORD
base,nonn,easy
AUTHOR
Larry Reeves (larryr(AT)acm.org), May 15 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 | Recents
The OEIS Community | Maintained by The OEIS Foundation Inc.

License Agreements, Terms of Use, Privacy Policy. .

Last modified June 10 06:15 EDT 2024. Contains 373253 sequences. (Running on oeis4.)