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!)
A302722 a(n) is the n-th prime number raised to the n-th nonprime number. 0
2, 81, 15625, 5764801, 2357947691, 137858491849, 582622237229761, 799006685782884121, 266635235464391245607, 250246473680347348787521, 699053619999045038539170241, 23122483666661158726686253786801, 7386879101213258109624223688656841, 863586854220408743801513785592407849 (list; graph; refs; listen; history; text; internal format)
OFFSET
1,1
LINKS
FORMULA
a(n) = A000040(n)^A018252(n).
EXAMPLE
a(3) = 5^6 = 15625 because 5 is the 3rd prime number and 6 is the 3rd nonprime number.
MATHEMATICA
Block[{p = Prime@ Range@ 12, k}, k = Complement[Range@ Max@ p, p]; Array[p[[#]]^k[[#]] &, Length@ p]] (* Michael De Vlieger, Apr 12 2018 *)
PROG
(PARI) lista(nn) = my(k=0); for (n=1, nn, if (!isprime(n), k++; print1(prime(k)^n, ", "))) \\ Michel Marcus, Apr 12 2018
CROSSREFS
Sequence in context: A352742 A072408 A318587 * A123177 A209585 A090603
KEYWORD
nonn
AUTHOR
Kritsada Moomuang, Apr 12 2018
EXTENSIONS
a(12) corrected and more terms by Georg Fischer, Dec 09 2022
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 April 24 13:07 EDT 2024. Contains 371945 sequences. (Running on oeis4.)