Logo

Greetings from The On-Line Encyclopedia of Integer Sequences!

Hints

Search: id:A094784
Displaying 1-1 of 1 results found. page 1
     Format: long | short | internal | text      Sort: relevance | references | number      Highlight: on | off
A094784 Numbers that are neither squares nor cubes. +0
1
2, 3, 5, 6, 7, 10, 11, 12, 13, 14, 15, 17, 18, 19, 20, 21, 22, 23, 24, 26, 28, 29, 30, 31, 32, 33, 34, 35, 37, 38, 39, 40, 41, 42, 43, 44, 45, 46, 47, 48, 50, 51, 52, 53, 54, 55, 56, 57, 58, 59, 60, 61, 62, 63, 65, 66, 67, 68, 69, 70, 71, 72, 73, 74, 75, 76, 77, 78, 79, 80, 82 (list; graph; listen)
OFFSET

1,1

REFERENCES

R. Honsberger, Mathematical Chestnuts from Around the World, MAA, 2001; see p. 168.

PROGRAM

(PARI) g(n) = for(x=0, n, if(!issquare(x)&&!iscube(x), print1(x", "))) iscube(n) = { local(r); r = n^(1/3); if(floor(r+.5)^3== n, 1, 0)

CROSSREFS

A005117 (square-free numbers) intersect A004709 (cube-free numbers) would be A005117; A005117 union A004709 would be A004709.

Adjacent sequences: A094781 A094782 A094783 this_sequence A094785 A094786 A094787

Sequence in context: A129125 A071591 A028769 this_sequence A085971 A007916 A052485

KEYWORD

nonn

AUTHOR

Cino Hilliard (hillcino368(AT)gmail.com), Jun 10 2004

EXTENSIONS

Definition corrected by Rick L. Shepherd (rshepherd2(AT)hotmail.com), Aug 11 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 October 13 09:05 EDT 2008. Contains 145008 sequences.


AT&T Labs Research