11, 2, 3, 41, 5, 61, 7, 83, 97, 101, 113, 127, 13, 149, 151, 163, 17, 181, 19, 2003, 211, 223, 23, 241, 251, 263, 271, 281, 29, 307, 31, 3203, 331, 347, 353, 367, 37, 383, 397, 401, 419, 421, 43, 443, 457, 461, 47, 487, 491, 503, 5101, 521, 53, 541, 557, 563, 571, 587, 59, 601, 613, 6203, 631, 641, 653, 661, 67, 683, 691, 701
Offset: 1
A060386
In base ten, we try to get the digits 0,1,2,3,...,9,0,1,2,3,... in order only using primes and each time choosing the smallest prime that will give the desired digit.
Original entry on oeis.org
101, 11, 2, 3, 41, 5, 61, 7, 83, 19, 101, 11, 2, 3, 41, 5, 61, 7, 83, 19, 101, 11, 2, 3, 41, 5, 61, 7, 83, 19, 101, 11, 2, 3, 41, 5, 61, 7, 83, 19, 101, 11, 2, 3, 41, 5, 61, 7, 83, 19, 101, 11, 2, 3, 41, 5, 61, 7, 83, 19, 101
Offset: 0
A065145
Smallest prime that begins with the n-th square in decimal notation.
Original entry on oeis.org
11, 41, 97, 163, 251, 367, 491, 641, 811, 1009, 1213, 1447, 1693, 19603, 2251, 25601, 2897, 32401, 3613, 4001, 44101, 48407, 5297, 57601, 6257, 6761, 7297, 7841, 8419, 9001, 9613, 10243, 10891, 115601, 12251, 12967, 13691, 14447, 15217, 16001
Offset: 1
-
f:= proc(n) local d,m,r;
for d from 1 do
for m from 1 to 10^d-1 by 2 do
r:= 10^d*n^2 + m;
if isprime(r) then return r fi
od od
end proc:
map(f, [$1..100]); # Robert Israel, May 16 2018
A080470
a(n) = smallest composite number that is obtained by placing digits anywhere in n; a(n) = n if n is composite.
Original entry on oeis.org
10, 12, 30, 4, 15, 6, 27, 8, 9, 10, 110, 12, 123, 14, 15, 16, 117, 18, 119, 20, 21, 22, 123, 24, 25, 26, 27, 28, 129, 30, 231, 32, 33, 34, 35, 36, 237, 38, 39, 40, 141, 42, 143, 44, 45, 46, 147, 48, 49, 50, 51, 52, 153, 54, 55, 56, 57, 58, 159, 60, 161, 62, 63, 64, 65, 66, 267
Offset: 1
Comments