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

 

Logo

Year-end appeal: Please make a donation to the OEIS Foundation to support ongoing development and maintenance of the OEIS. We are now in our 60th year, we have over 367,000 sequences, and we’ve reached 11,000 citations (which often say “discovered thanks to the OEIS”).

Other ways to Give
Hints
(Greetings from The On-Line Encyclopedia of Integer Sequences!)
A064462 First row of Pascal's triangle that has n nonsquarefree entries, or -1 if no such row exists. 2
0, 6, 4, 14, 13, 10, 8, -1, 9, 12, -1, 22, 17, 20, -1, 16, -1, 18, 29, 26, 31, 24, 25, 62, -1, 28, 27, 34, 35, 42, 33, 32, -1, -1, -1, 36, 53, 40, 45, -1, -1, -1, 95, -1, -1, -1, 79, 48, 49, 50, 55, 54, 57, 60, 69, 56, 63, 74, -1, 70, 67, 66, 65, 64, 77, -1 (list; graph; refs; listen; history; text; internal format)
OFFSET
0,2
COMMENTS
Numbers such that a(n) is -1: 7, 10, 14, 16, 24, 32, 33, 34, 39, 40, 41, 43, ... - Michel Marcus, Mar 05 2014
LINKS
EXAMPLE
a(4) = 13 because C(13,5) = C(13,8) = 3^2*11*13 and C(13,6) = C(13,7) = 2^2*3*11*13.
MATHEMATICA
f[ n_ ] := (c = 0; k = 1; While[ k < n, If[ Union[ Transpose[ FactorInteger[ Binomial[ n, k ] ] ] [ [ 2 ] ] ] [ [ -1 ] ] > 1, c++ ]; k++ ]; c); Do[ m = 2; While[ f[ m ] != n, m++ ]; Print[ m ], {n, 0, 6} ]
PROG
(PARI) a(n, v) = {for (i=1, #v, if (v[i] == n, return (i-1)); ); return (-1); } \\ where v is vector A048277; Michel Marcus, Mar 05 2014
CROSSREFS
Sequence in context: A337512 A131828 A096038 * A248266 A325689 A199890
KEYWORD
sign
AUTHOR
Robert G. Wilson v, Oct 02 2001
EXTENSIONS
Corrected and extended by Michel Marcus, Mar 05 2014
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 December 5 01:00 EST 2023. Contains 367565 sequences. (Running on oeis4.)