Logo

Greetings from The On-Line Encyclopedia of Integer Sequences!

Hints

Search: id:A093549
Displaying 1-1 of 1 results found. page 1
     Format: long | short | internal | text      Sort: relevance | references | number      Highlight: on | off
A093549 a(n) is the smallest number m such that each of the numbers m-1, m and m+1 has n distinct prime divisors. +0
5
3, 21, 645, 37961, 1042405, 323567035, 30989984675 (list; graph; listen)
OFFSET

1,1

FORMULA

a[n_] := (For[m=2, !(Length[FactorInteger[m-1]]==n && Length[FactorInteger[m]]==n&&Length[FactorInteger[m+1]]==n), m++ ];m)

EXAMPLE

a(3) =645 because 644=2^2*7*23; 645=3*5*43; 646=2*17*19

and 645 is the smallest number m such that each of the numbers

m-1, m & m+1 has 3 distinct prime divisors.

MATHEMATICA

a[n_] := (For[m=2, !(Length[FactorInteger[m-1]]==n && Length[FactorInteger[m]]==n&&Length[FactorInteger[m+1]]==n), m++ ]; m); Do[Print[a[n]], {n, 7}]

CROSSREFS

Cf. A093550, A052215, A093548.

Sequence in context: A135327 A128679 A111432 this_sequence A012044 A098918 A001699

Adjacent sequences: A093546 A093547 A093548 this_sequence A093550 A093551 A093552

KEYWORD

more,nonn

AUTHOR

Farideh Firoozbakht (f.firoozbakht(AT)math.ui.ac.ir), Apr 07 2004

EXTENSIONS

a(7) from Donovan Johnson (donovan.johnson(AT)yahoo.com), Apr 07 2008

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 July 25 07:41 EDT 2008. Contains 142293 sequences.


AT&T Labs Research