Logo

Greetings from The On-Line Encyclopedia of Integer Sequences!

Hints

Search: id:A102297
Displaying 1-1 of 1 results found. page 1
     Format: long | short | internal | text      Sort: relevance | references | number      Highlight: on | off
A102297 Number of distinct divisors of n+1 where n and n+1 are composite or twin composite numbers. +0
1
1, 2, 2, 1, 2, 2, 1, 2, 1, 2, 2, 2, 2, 2, 2, 2, 2, 2, 1, 2, 2, 2, 2, 2, 2, 2, 2, 1, 2, 3, 2, 3, 2, 2, 2, 3, 1, 2, 2, 2, 2, 2, 2, 2, 2, 2, 2, 2, 2, 2, 3, 2, 2, 2, 2, 2, 2, 2, 2, 3, 1, 2, 2, 2, 1, 3, 2, 3, 2, 2, 2, 2, 2, 2, 2, 2, 2, 2, 2, 2, 2, 3, 2, 3, 2, 2, 2, 2, 3, 2, 1, 3, 2, 2, 2, 2, 2, 2, 2, 2, 2, 3, 2, 2, 2 (list; graph; listen)
OFFSET

1,2

COMMENT

It is interesting to note that the first such consecutive pair of composite numbers is 8 and 9 which are perfect powers: 2^3 and 3^2. Conjecture: 8 and 9 are the only 2 consecutive composite numbers that are both perfect powers. Or, if x>2, x^m+1 != y^n for all m,n,x,y. Now if we relax the condition that 0 and 1 are not composite, we have 0^m+1 = 1^n for all m,n an infinity of solutions.

EXAMPLE

For n=8 n+1 = 9 = 3*3 or 1 distinct divisor.

PROGRAM

(PARI) f(n) = for(x=1, n, y=composite(x)+1; if(!isprime(y), print1(omega(y)", "))) composite(n) =\The n-th composite number. 1 is def as not prime nor composite. { local(c, x); c=1; x=1; while(c <= n, x++; if(!isprime(x), c++); ); return(x) }

CROSSREFS

Sequence in context: A014710 A055174 A096369 this_sequence A098398 A131714 A130196

Adjacent sequences: A102294 A102295 A102296 this_sequence A102298 A102299 A102300

KEYWORD

easy,nonn

AUTHOR

Cino Hilliard (hillcino368(AT)gmail.com), Feb 19 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 November 30 22:12 EST 2008. Contains 150989 sequences.


AT&T Labs Research