cp's OEIS Frontend

This is a front-end for the Online Encyclopedia of Integer Sequences, made by Christian Perfect. The idea is to provide OEIS entries in non-ancient HTML, and then to think about how they're presented visually. The source code is on GitHub.

Previous Showing 11-14 of 14 results.

A077493 a(n) = smallest multiple of 7 with a digit sum = n.

Original entry on oeis.org

1001, 21, 112, 14, 42, 7, 35, 63, 28, 56, 84, 49, 77, 168, 196, 98, 189, 469, 497, 399, 679, 896, 798, 889, 1799, 2898, 2989, 3899, 4998, 6979, 5999, 8799, 9898, 9989, 29799, 19999, 39998, 58989, 59899, 68999, 79989, 99799, 89999, 199899, 389998
Offset: 2

Views

Author

Amarnath Murthy, Nov 07 2002

Keywords

Crossrefs

Extensions

Corrected and extended by Sascha Kurz, Jan 30 2003

A077494 a(n) = smallest k such that the digit sum of 7k is n.

Original entry on oeis.org

143, 3, 16, 2, 6, 1, 5, 9, 4, 8, 12, 7, 11, 24, 28, 14, 27, 67, 71, 57, 97, 128, 114, 127, 257, 414, 427, 557, 714, 997, 857, 1257, 1414, 1427, 4257, 2857, 5714, 8427, 8557, 9857, 11427, 14257, 12857, 28557, 55714, 42857, 71427, 85714, 99857, 112857, 128557
Offset: 2

Views

Author

Amarnath Murthy, Nov 07 2002

Keywords

Crossrefs

Programs

  • Mathematica
    sk7[n_]:=Module[{k=1},While[Total[IntegerDigits[7k]]!=n,k++];k]; Array[ sk7,60,2] (* Harvey P. Dale, Apr 07 2014 *)

Formula

A077493(n)/7

Extensions

Corrected and extended by Ray Chandler, Aug 03 2003

A077489 a(n) = smallest multiple of 4 with sum of digits = n.

Original entry on oeis.org

100, 20, 12, 4, 32, 24, 16, 8, 36, 28, 56, 48, 76, 68, 96, 88, 188, 288, 388, 488, 588, 688, 788, 888, 988, 1988, 2988, 3988, 4988, 5988, 6988, 7988, 8988, 9988, 19988, 29988, 39988, 49988, 59988, 69988, 79988, 89988, 99988, 199988, 299988, 399988, 499988
Offset: 1

Views

Author

Amarnath Murthy, Nov 07 2002

Keywords

Crossrefs

Programs

  • Mathematica
    With[{d4=Sort[{Total[IntegerDigits[#]],#}&/@(4Range[250000])]},Table[ SelectFirst[ d4,#[[1]]==n&],{n,50}]][[All,2]] (* Requires Mathematica version 10 or later *) (* Harvey P. Dale, Jun 17 2021 *)

Extensions

More terms from Ray Chandler, Aug 03 2003

A077490 a(n) = smallest k such that 4k has a digit sum = n.

Original entry on oeis.org

25, 5, 3, 1, 8, 6, 4, 2, 9, 7, 14, 12, 19, 17, 24, 22, 47, 72, 97, 122, 147, 172, 197, 222, 247, 497, 747, 997, 1247, 1497, 1747, 1997, 2247, 2497, 4997, 7497, 9997, 12497, 14997, 17497, 19997, 22497, 24997, 49997, 74997, 99997, 124997, 149997, 174997
Offset: 1

Views

Author

Amarnath Murthy, Nov 07 2002

Keywords

Crossrefs

Formula

A077489(n)/4

Extensions

Corrected and extended by Sascha Kurz, Feb 10 2003
Previous Showing 11-14 of 14 results.