login
The OEIS is supported by the many generous donors to the OEIS Foundation.

 

Logo
Hints
(Greetings from The On-Line Encyclopedia of Integer Sequences!)
A281962 Least k such that k^n - 1 is a totient number (A002202), or 0 if no such k exists. 1
2, 3, 7, 3, 25, 5, 49, 3, 17, 5, 13, 3, 41, 7, 5, 3, 13, 5, 25, 3, 25, 5, 53, 3, 9, 9, 25, 3, 29, 3, 81, 3, 9, 15, 5, 3, 13, 5, 13, 3, 33, 5, 49, 3, 5, 9, 25, 3, 9, 3, 9, 3, 81, 5, 5, 3, 25, 7, 49, 3, 13, 9, 13, 3, 13, 3 (list; graph; refs; listen; history; text; internal format)
OFFSET
1,1
LINKS
EXAMPLE
a(5) = 25 because 25^5 - 1 = 5^10 - 1 = 9765624 is a totient number and 25 is the least number with this property.
PROG
(PARI) a(n) = my(k=1); while(!istotient(k^n-1), k++); k;
CROSSREFS
Sequence in context: A086508 A085641 A086516 * A358415 A245675 A245617
KEYWORD
nonn,more
AUTHOR
Altug Alkan, Feb 03 2017
EXTENSIONS
a(43)-a(52) from Ray Chandler, Feb 08 2017
a(53)-a(66) from Ray Chandler, Feb 09 2017
STATUS
approved

Lookup | Welcome | Wiki | Register | Music | Plot 2 | Demos | Index | Browse | More | WebCam
Contribute new seq. or comment | Format | Style Sheet | Transforms | Superseeker | Recents
The OEIS Community | Maintained by The OEIS Foundation Inc.

License Agreements, Terms of Use, Privacy Policy. .

Last modified July 13 20:39 EDT 2024. Contains 374288 sequences. (Running on oeis4.)