The OEIS mourns the passing of Jim Simons and is grateful to the Simons Foundation for its support of research in many branches of science, including the OEIS.
login
The OEIS is supported by the many generous donors to the OEIS Foundation.

 

Logo
Hints
(Greetings from The On-Line Encyclopedia of Integer Sequences!)
A303137 Numbers k such that concat(k, k-d(k)) and concat(k-d(k), k) are both prime, where d(k) is the number of divisors of k. 1
3, 29, 51, 53, 87, 177, 213, 291, 297, 357, 359, 399, 419, 427, 431, 471, 503, 521, 553, 561, 573, 597, 599, 659, 681, 687, 697, 719, 793, 871, 957, 987, 1019, 1163, 1243, 1261, 1501, 1539, 1633, 1843, 1957, 2037, 2213, 2273, 2339, 2441, 2511, 2639, 2741, 2753 (list; graph; refs; listen; history; text; internal format)
OFFSET
1,1
COMMENTS
Only squarefree numbers.
Like A284643 but using number of non-divisors.
Both k and k-d(k) must be odd to be eligeable for this sequence. This means that d(k) is even. Therefore, this sequence and A284643 cannot share common terms.
For 177, 573, 597, 687, 4809, 6223, 7693, 24069, etc. are prime k-d(k) and k+d(k) too.
LINKS
EXAMPLE
d(177) = 4 and concat(177,177-4) = 177173 and concat(177-4,177) = 173177 are both prime (like also 177 - 4 = 173 and 177 + 4 = 181).
MAPLE
select(n->isprime(n*10^(ilog10(n-tau(n))+1)+n-tau(n)) and isprime((n-tau(n))*10^(ilog10(n)+1)+n), [$3..2753]);
PROG
(PARI) isok(k) = my(sk = Str(k), sdk = Str(k-numdiv(k))); isprime(eval(concat(sk, sdk))) && isprime(eval(concat(sdk, sk))); \\ Michel Marcus, Apr 20 2018
CROSSREFS
Sequence in context: A087209 A165440 A072306 * A364076 A228613 A071150
KEYWORD
nonn,base,easy
AUTHOR
Paolo P. Lava, Apr 19 2018
STATUS
approved

Lookup | Welcome | Wiki | Register | Music | Plot 2 | Demos | Index | Browse | More | WebCam
Contribute new seq. or comment | Format | Style Sheet | Transforms | Superseeker | Recents
The OEIS Community | Maintained by The OEIS Foundation Inc.

License Agreements, Terms of Use, Privacy Policy. .

Last modified June 12 20:44 EDT 2024. Contains 373360 sequences. (Running on oeis4.)