Logo

Greetings from The On-Line Encyclopedia of Integer Sequences!

Hints

Search: id:A102070
Displaying 1-1 of 1 results found. page 1
     Format: long | short | internal | text      Sort: relevance | references | number      Highlight: on | off
A102070 Numbers that can be expressed as p+p^n (p prime, n >= 0) in more than one way. +0
2
4, 6, 10, 12, 14, 18, 30, 34, 38, 62, 74, 84, 130, 132, 158, 182, 194, 258, 278, 314, 350, 380, 398, 422, 458, 514, 542, 614, 662, 674, 734, 758, 878, 992, 998, 1094, 1154, 1202, 1214, 1238, 1322, 1382, 1454, 1622, 1658, 1722, 1754, 1874, 1934, 1994, 2018, 2138 (list; graph; listen)
OFFSET

1,1

EXAMPLE

14 = 7+7^1 = 13+13^0. 130 = 2+2^7 = 5+5^3.

PROGRAM

(PARI) v = vector(20000); count = 0; i = 1; p = 2; while (p < 5000, pow = 1; while (pow < 5000, n = p + pow; count++; v[count] = n; pow *= p); i++; p = prime(i)); w = vector(count, x, v[x]); v = vecsort(w); i = 3; for (j = 2, count, if (v[j] == v[j - 1] && v[j] != v[j - 2], print(v[j])));

CROSSREFS

Sequence in context: A137230 A134333 A114331 this_sequence A026402 A036438 A066190

Adjacent sequences: A102067 A102068 A102069 this_sequence A102071 A102072 A102073

KEYWORD

easy,nonn

AUTHOR

David Wasserman (wasserma(AT)spawar.navy.mil), Dec 28 2004

page 1

Search completed in 0.002 seconds

Lookup | Welcome | Find friends | Music | Plot 2 | Demos | Index | Browse | More | WebCam
Contribute new seq. or comment | Format | Transforms | Puzzles | Hot | Classics
More pages | Superseeker | Maintained by N. J. A. Sloane (njas@research.att.com)

Last modified November 30 22:12 EST 2008. Contains 150989 sequences.


AT&T Labs Research