|
| |
|
|
A090924
|
|
Least nonzero number having the same number of digits as n which when added to n yields a prime.
|
|
0
| |
|
|
1, 1, 2, 1, 2, 1, 4, 3, 2, 13, 12, 11, 10, 15, 14, 13, 12, 11, 10, 11, 10, 15, 14, 13, 12, 11, 10, 13, 12, 11, 10, 11, 10, 13, 12, 11, 10, 15, 14, 13, 12, 11, 10, 15, 14, 13, 12, 11, 10, 11, 10, 15, 14, 13, 12, 11, 10, 13, 12, 11, 10, 11, 10, 15, 14, 13, 12, 11, 10, 13, 12, 11
(list; graph; refs; listen; history; internal format)
|
|
|
|
OFFSET
| 1,3
|
|
|
EXAMPLE
| a(29) = 12 and not 8 though 29+8 =37 is also a prime.
a(124) = 103 as 103 is the least three digit number such that 124 +103 = 227 is prime.
|
|
|
CROSSREFS
| Sequence in context: A177236 A138567 A103530 * A160595 A105778 A088931
Adjacent sequences: A090921 A090922 A090923 * A090925 A090926 A090927
|
|
|
KEYWORD
| base,easy,nonn
|
|
|
AUTHOR
| Amarnath Murthy (amarnath_murthy(AT)yahoo.com), Dec 21 2003
|
|
|
EXTENSIONS
| More terms from David Wasserman (wasserma(AT)spawar.navy.mil), Feb 15 2006
|
| |
|
|