login

Year-end appeal: Please make a donation to the OEIS Foundation to support ongoing development and maintenance of the OEIS. We are now in our 61st year, we have over 378,000 sequences, and we’ve reached 11,000 citations (which often say “discovered thanks to the OEIS”).

A365505
a(n) is the least integer that can be expressed as the sum of a prime number and the n-th power of a positive integer in exactly n ways, or -1 if no such integer exists.
1
3, 6, 128, 1298, 375534
OFFSET
1,1
EXAMPLE
For n = 3: 128 = 3 + 5^3 = 101 + 3^3 = 127 + 1^3.
CROSSREFS
KEYWORD
nonn,more
AUTHOR
Ilya Gutkovskiy, Sep 07 2023
STATUS
approved