Logical and Mathematical Thinking