login
This site is supported by donations to The OEIS Foundation.
Logo

Hints
(Greetings from The On-Line Encyclopedia of Integer Sequences!)
A114874 Numbers representable in exactly two ways as (p-1)p^k (where p is a prime and k>=0) in ascending order. 1
2, 4, 6, 16, 18, 42, 100, 156, 162, 256, 486, 1458, 2028, 4422, 6162, 14406, 19182, 22650, 23548, 26406, 37056, 39366, 62500, 65536, 77658, 113232, 121452, 143262, 208392, 292140, 342732, 375156, 412806, 527802, 564898, 590592, 697048, 843642 (list; graph; refs; listen; history; internal format)
OFFSET

1,1

EXAMPLE

6 is a member because 6=(3-1).3^1=(7-1).7^0 and 3 and 7 are primes.

MATHEMATICA

s = Split@Sort@Flatten@Table[(Prime[n] - 1)Prime[n]^k, {n, 68000}, {k, 0, 16}]; Union@Flatten@Select[s, Length@# == 2 &] (* Robert G. Wilson v *)

CROSSREFS

Cf. A114871, A114873.

Sequence in context: A037019 A096174 A096173 * A100361 A069654 A000068

Adjacent sequences:  A114871 A114872 A114873 * A114875 A114876 A114877

KEYWORD

nonn

AUTHOR

Franz Vrabec (franz.vrabec(AT)aon.at), Jan 03 2006

EXTENSIONS

a(13)-a(38) from Robert G. Wilson v (rgwv(at)rgwv.com), Jan 05 2006

Lookup | Welcome | Wiki | Register | Music | Plot 2 | Demos | Index | Browse | More | WebCam
Contribute new seq. or comment | Format | Transforms | Puzzles | Hot | Classics
Recent Additions | More pages | Superseeker | Maintained by The OEIS Foundation Inc.

Content is available under The OEIS End-User License Agreement .

Last modified February 15 09:54 EST 2012. Contains 205763 sequences.