Thanks for the question. The following resource provides troubleshooting information if you are having issues with your passcode:
If you have never synced your device with iTunes, or you do not have access to a computer
If you see one of following alerts, you need to erase the device:
"iTunes could not connect to the [device] because it is locked with a passcode. You must enter your passcode on the [device] before it can be used with iTunes."
"You haven't chosen to have [device] trust this computer"
If you have Find My iPhone enabled, you can use Remote Wipe to erase the contents of your device. If you have been usingiCloud to back up, you may be able to restore the most recent backup to reset the passcode after the device has been erased.
Alternatively, place the device in recovery mode and restore it to erase the device:
1. Disconnect the USB cable from the device, but leave the other end of the cable connected to your computer's USB port.
2. Turn off the device: Press and hold the Sleep/Wake button for a few seconds until the red slider appears, then slide the slider. Wait for the device to shut down.
3. While pressing and holding the Home button, reconnect the USB cable to the device. The device should turn on.
4. Continue holding the Home button until you see the Connect to iTunes screen.
5. iTunes will alert you that it has detected a device in recovery mode. Click OK, and then restore the device.