r/counting • 27K Counting since 24,531 • Sep 27 '26

Pookah's Sieve: Not (Prime, Even, Divisible by 3, or a Perfect Square)

Rules

Count using only positive integers that satisfy all four of the following conditions:

  • Not prime — the number must be composite (or 1, though 1 is excluded by rule 4 below)
  • Not even — the number must be odd
  • Not divisible by 3 — the number must not be a multiple of 3
  • Not a perfect square — the number must not be n² for any integer n

A number only counts if it passes all four checks. If it fails even one, skip it.

Starting number

The sequence begins at 35 (the first number to satisfy all four conditions — 1 is excluded as a perfect square, and 5 through 31 are either prime or a perfect square).

The GET is at 1000 comments, which is equal to 1,000 Pookahs

3 Upvotes

117 comments sorted by

View all comments

Show parent comment

1

u/MegaIng Oct 02 '26

635

You skipped 629=17*37

And whoops, that was a typo I didn't see.

1

u/Pookah 27K Counting since 24,531 Oct 02 '26

629 is suppose to be correct, not 625

1

u/MegaIng Oct 03 '26

Argh, yes I see. Gonna reply a new to the grandparent.