login

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 61st year, we have over 378,000 sequences, and we’ve reached 11,000 citations (which often say “discovered thanks to the OEIS”).

A167207
Numbers that are not divisible by a smaller number that is a square greater than 1.
3
1, 2, 3, 4, 5, 6, 7, 9, 10, 11, 13, 14, 15, 17, 19, 21, 22, 23, 25, 26, 29, 30, 31, 33, 34, 35, 37, 38, 39, 41, 42, 43, 46, 47, 49, 51, 53, 55, 57, 58, 59, 61, 62, 65, 66, 67, 69, 70, 71, 73, 74, 77, 78, 79, 82, 83, 85, 86, 87, 89, 91, 93, 94, 95, 97, 101, 102, 103, 105, 106
OFFSET
1,2
EXAMPLE
14 is included because there is no square strictly between 1 and 14 that divides evenly into 14.
PROG
(PARI) isok(n) = {fordiv (n, d, if (issquare(d) && (d>1) && (d<n), return (0))); return (1); } \\ Michel Marcus, Jun 08 2013
CROSSREFS
The union of A005117 (squarefree numbers) and A001248 (squares of primes).
Sequence in context: A342525 A325457 A063538 * A037143 A236105 A292050
KEYWORD
nonn
AUTHOR
Lee A. Newberg, Oct 30 2009
STATUS
approved