Logo

Greetings from The On-Line Encyclopedia of Integer Sequences!

Hints

Search: id:A157496
Displaying 1-1 of 1 results found. page 1
     Format: long | short | internal | text      Sort: relevance | references | number      Highlight: on | off
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. +0
3
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; listen)
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.

PROGRAM

(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 this_sequence A096768 A157529 A165932

Adjacent sequences: A157493 A157494 A157495 this_sequence 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

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 November 25 20:09 EST 2009. Contains 167514 sequences.


AT&T Labs Research