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”).

A114873
Numbers representable in exactly one way as (p-1)p^k (where p is a prime and k>=0), in ascending order.
2
1, 8, 10, 12, 20, 22, 28, 30, 32, 36, 40, 46, 52, 54, 58, 60, 64, 66, 70, 72, 78, 82, 88, 96, 102, 106, 108, 110, 112, 126, 128, 130, 136, 138, 148, 150, 166, 172, 178, 180, 190, 192, 196, 198, 210, 222, 226, 228, 232, 238, 240, 250, 262, 268, 270, 272, 276, 280
OFFSET
1,2
EXAMPLE
(2-1)*2^3 is the only representation of 8 in the required form.
MATHEMATICA
s = Split@ Sort@ Flatten@ Table[(Prime[n] - 1)Prime[n]^k, {n, 60}, {k, 0, 6}]; Take[Union@ Flatten@ Select[s, Length@# == 1 &], 80] (* Robert G. Wilson v *)
CROSSREFS
Sequence in context: A157939 A208154 A096281 * A114621 A174156 A115168
KEYWORD
nonn
AUTHOR
Franz Vrabec, Jan 03 2006
EXTENSIONS
More terms from Robert G. Wilson v, Jan 05 2006
STATUS
approved