Logo

Greetings from The On-Line Encyclopedia of Integer Sequences!

Hints

Search: id:A100658
Displaying 1-1 of 1 results found. page 1
     Format: long | short | internal | text      Sort: relevance | references | number      Highlight: on | off
A100658 Composite numbers with at least 2 factors that have different digital roots. +0
2
6, 10, 12, 14, 15, 18, 20, 21, 24, 26, 28, 30, 33, 34, 35, 36, 38, 39, 40, 42, 45, 46, 48, 50, 51, 52, 54, 55, 56, 57, 60, 62, 63, 65, 66, 68, 69, 70, 72, 74, 75, 76, 77, 78, 80, 82, 84, 85, 86, 87, 90, 91, 92, 93, 95, 96, 98, 99, 100, 102, 104, 105, 106, 108, 110, 111, 112 (list; graph; listen)
OFFSET

1,1

PROGRAM

(PARI) nsamedr(n) = { local(j); for(j=2, n, if(!isprime(j)&!issamedr(j), print1(j", ")) ) } issamedr(n) = { local(f, a, ln, x); f=0; a=ifactor(n); ln=length(a); for(x=1, ln-1, if(droot(a[x])<>droot(a[x+1]), f=1; break)); if(f==0&ln>1, return(1), return(0)) } droot(n) = \ the digital root of a number. { local(x); x= n%9; if(x>0, return(x), return(9)) }

CROSSREFS

Adjacent sequences: A100655 A100656 A100657 this_sequence A100659 A100660 A100661

Sequence in context: A030231 A056760 A084227 this_sequence A069059 A139587 A119313

KEYWORD

base,easy,nonn

AUTHOR

Cino Hilliard (hillcino368(AT)gmail.com), Jan 02 2005

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 October 13 09:05 EDT 2008. Contains 145008 sequences.


AT&T Labs Research