N.B. The Shinra Mayor's password is randomly generated each time and changes from game to game. So there is no simple "this is always the password" solution. But some help from my guide should see you through.
You come across the Shinra Mayor on Floor 62 of the Shinra HQ on Disc 1. If you get his password right first try, he will give you an Elemental materia as well as his Keycard.
To work out his password, visit the 4 libraries on this floor. The sign outside each room tells you what the Topic of the room is. View the various books in the library and see which one doesn't belong in each room according to the Topic of the room. After each book title is a number. This number corresponds to a letter in the book's title. So if the number is 9 for example, you want the 9th letter. Once you have all 4 letters, unscramble them for the password.
So, for example, if the Topic of the room is "Scientific Research Library", the odd book out is "The Ancients in History" . If the number is "14", you want the 14th letter of the book title; in this case, "H".
If the Topic of the room is "Peace Preservation/Weapon Dev. Research Library", the odd book out is "Reactor Construction Chart" (as this would belong more correctly in "Urban Dev. Research Library)".
My YouTube Channel - PLEASE SUBSCRIBE
Limit Breaks Guide
Enemy Skill Guide
Enlisting Yuffie and Vincent
Wall Market Cross-Dressing Guide
Turtle's Paradise Flyers Locations
Shinra Building Floor 62
Shinra Building Floor 63
Junon Parade Guide
Gold Saucer Guide
Huge Materia Rocket Code
Alexander & Added Cut Materia
Emerald Weapon & Ruby Weapon
About the Characters
Final Fantasy VII Remake Guide
List of Every FFVII Title
Other FFVII Websites