Logo

Greetings from The On-Line Encyclopedia of Integer Sequences!

Hints

Search: id:A064462
Displaying 1-1 of 1 results found. page 1
     Format: long | short | internal | text      Sort: relevance | references | number      Highlight: on | off
A064462 First row of Pascal's triangle that has n non-squarefree entries, or -1 if no such row exists. +0
3
2, 6, 4, 14, 13, 10, 8 (list; graph; listen)
OFFSET

0,1

EXAMPLE

a(13) = 4 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} ]

CROSSREFS

Cf. A064460, A064461.

Sequence in context: A046204 A163755 A100851 this_sequence A111807 A069914 A130190

Adjacent sequences: A064459 A064460 A064461 this_sequence A064463 A064464 A064465

KEYWORD

easy,nonn

AUTHOR

Robert G. Wilson v (rgwv(AT)rgwv.com), Oct 02 2001

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 27 14:50 EST 2009. Contains 167570 sequences.


AT&T Labs Research