login
The OEIS is supported by the many generous donors to the OEIS Foundation.

 

Logo
Hints
(Greetings from The On-Line Encyclopedia of Integer Sequences!)
A048279 Values of n for which no values of C(n,k) except k=0 and k=n are squarefree. 3
0, 1, 9, 16, 18, 27, 32, 36, 48, 49, 50, 56, 64, 72, 80, 81, 96, 98, 99, 100, 108, 112, 121, 126, 128, 135, 136, 144, 147, 148, 153, 162, 169, 171, 175, 176, 180, 192, 196, 198, 200, 216, 225, 243, 244, 245, 248, 250, 252, 256, 264, 272, 276, 288, 289, 294, 300 (list; graph; refs; listen; history; text; internal format)
OFFSET
1,3
LINKS
EXAMPLE
n=9, C(n,k) = (1),9,36,84,126,126,84,36,9,(1); all values include squares.
MATHEMATICA
f[n_] := (c = 0; k = 1; While[k < n, If[ Union[ Transpose[ FactorInteger[ Binomial[n, k]]] [[2]]] [[ -1]] > 1, c++ ]; k++ ]; c); Select[Range[150], f[ # ] == # - 1 &]
a[ n_] := If[ n < 2, 0, Module[ {c = 1, k = 1}, While[ c < n, If[ {} == Select[ Table[ Binomial[k, i], {i, k - 1}], SquareFreeQ], c++]; k++]; k - 1]]; (* Michael Somos, Mar 07 2014 *)
Join[{0, 1}, Select[Range[3, 300], NoneTrue[Binomial[#, Range[2, #-1]], SquareFreeQ] &]] (* Requires Mathematica version 10 or later *) (* Harvey P. Dale, Sep 29 2019 *)
CROSSREFS
Sequence in context: A274188 A335437 A034040 * A250656 A072836 A068824
KEYWORD
nonn
AUTHOR
EXTENSIONS
More terms from Robert G. Wilson v, Oct 02 2001
STATUS
approved

Lookup | Welcome | Wiki | Register | Music | Plot 2 | Demos | Index | Browse | More | WebCam
Contribute new seq. or comment | Format | Style Sheet | Transforms | Superseeker | Recents
The OEIS Community | Maintained by The OEIS Foundation Inc.

License Agreements, Terms of Use, Privacy Policy. .

Last modified April 23 18:16 EDT 2024. Contains 371916 sequences. (Running on oeis4.)