Logo

Greetings from The On-Line Encyclopedia of Integer Sequences!

Hints

Search: id:A099501
Displaying 1-1 of 1 results found. page 1
     Format: long | short | internal | text      Sort: relevance | references | number      Highlight: on | off
A099501 Least number of members in a subset of integers in the interval [n^2+1, (n+1)^2-1] whose product is twice a square. +0
6
1, 1, 3, 1, 1, 2, 1, 1, 1, 2, 1, 1, 3, 1, 1, 1, 2, 1, 1, 3, 1, 1, 2, 1, 1, 1, 2, 1, 1, 2, 1, 1, 1, 2, 1, 1, 2, 1, 1, 2, 1, 1, 1, 2, 1, 1, 2, 1, 1, 1, 2, 1, 1, 2, 1, 1, 1, 2, 1, 1, 2, 1, 1, 2, 1, 1, 1, 2, 1, 1, 2, 1, 1, 1, 2, 1, 1, 3, 1, 1, 2, 1, 1, 1, 3, 1, 1, 2, 1, 1, 1, 3, 1, 1, 2, 1, 1, 1, 3, 1, 1, 2, 1, 1, 2 (list; graph; listen)
OFFSET

1,3

COMMENT

Granville and Selfridge conjecture that a(n) <= 3 for all n.

LINKS

Andrew Granville and John Selfridge, Product of integers in an interval, modulo squares (pdf), Electronic Journal of Combinatorics, Volume 8(1), 2001.

EXAMPLE

a(5) = 1 because the interval [26,35] contains two sets of such integers ({32} and {27,28,30,35}) and the smallest set has 1 member.

MATHEMATICA

Needs["DiscreteMath`Combinatorica`"]; Table[lst=Range[n^2+1, (n+1)^2-1]; x=Times@@lst; {p, e}=Transpose[FactorInteger[x]]; Do[If[e[[i]]==1 && p[[i]]!=2, lst=DeleteCases[lst, _?(Mod[ #, p[[i]]]==0&)]], {i, Length[p]}]; k=1; found=False; While[ !found && k<=Length[lst], m=0; While[ !found && m<Binomial[Length[lst], k], ss=UnrankKSubset[m, k, lst]; x=Times@@ss; If[Mod[x, 2]==0 && IntegerQ[Sqrt[x/2]], found=True]; m++ ]; k++ ]; (*Print[{n, ss, x}]; *)Length[ss], {n, 150}]

CROSSREFS

Cf. A099500 (number of subsets), A099502 (n such that a(n)=3).

Sequence in context: A070989 A066827 A016467 this_sequence A089762 A030347 A010275

Adjacent sequences: A099498 A099499 A099500 this_sequence A099502 A099503 A099504

KEYWORD

nonn

AUTHOR

T. D. Noe (noe(AT)sspectra.com), Oct 20 2004

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