|
| |
|
|
A157496
|
|
Composite numbers n where the largest digit m is equal to the sum of all digits of n except for one occurence of m.
|
|
2
| |
|
|
22, 33, 44, 55, 66, 77, 88, 99, 110, 112, 121, 123, 132, 134, 143, 145, 154, 156, 165, 176, 178, 187, 189, 198, 202, 213, 220, 224, 231, 235, 242, 246, 253, 264, 268, 275, 279, 286, 297, 303, 312, 314, 321, 325, 330, 336, 341, 352, 358, 363, 369, 374, 385
(list; graph; refs; listen; history; internal format)
|
|
|
|
OFFSET
| 1,1
|
|
|
EXAMPLE
| 341 is a composite number where the largest digit is the sum of all the other digits.
330 is composite and has largest digit 3, which equals the sum of all digits of 330 except for one occurence of 3, viz. 3+0.
|
|
|
PROG
| (MAGMA) [ n: n in [2..390] | not IsPrime(n) and m eq &+S - m where m is Max(S) where S is Intseq(n, 10) ];
|
|
|
CROSSREFS
| Cf. A002808 (composite numbers).
Sequence in context: A167337 A100372 A084996 * A096768 A157529 A165932
Adjacent sequences: A157493 A157494 A157495 * A157497 A157498 A157499
|
|
|
KEYWORD
| nonn,base,less
|
|
|
AUTHOR
| Parthasarathy Nambi (PachaNambi(AT)yahoo.com), Mar 01 2009
|
|
|
EXTENSIONS
| Entry revised by N. J. A. Sloane, Mar 27 2009
0 removed, 110 and 330 inserted, extended, definition clarified, second example, MAGMA program and keyword less added by Klaus Brockhaus (klaus-brockhaus(AT)t-online.de), Apr 12 2009
|
| |
|
|