login

Year-end appeal: Please make a donation to the OEIS Foundation to support ongoing development and maintenance of the OEIS. We are now in our 61st year, we have over 378,000 sequences, and we’ve reached 11,000 citations (which often say “discovered thanks to the OEIS”).

A379738
Numbers k such that prime(k) and prime(k) + 9*k are anagrams.
0
8, 55, 60, 61, 228, 440, 455, 550, 555, 568, 578, 1508, 1774, 1778, 1795, 1796, 1808, 2218, 2222, 2308, 2411, 2519, 2520, 2834, 2843, 2885, 3304, 3386, 3440, 4000, 4281, 4390, 4906, 4994, 4999, 5090, 5110, 9777, 9788, 9966, 10239, 11780, 11882, 11930, 12330, 13873, 13887, 14259
OFFSET
1,1
EXAMPLE
prime(8) = 19 and prime(8) + 9 * 8 = 91 are anagrams.
prime(55) = 257 and prime(55) + 9 * 55 = 752 are anagrams.
prime(60) = 281 and prime(60) + 9 * 60 = 821 are anagrams.
prime(61) = 283 and prime(61) + 9 * 61 = 832 are anagrams.
prime(228) = 1439 and prime(228) + 9 * 228 = 3491 are anagrams.
MATHEMATICA
Select[Range[10000], Sort[IntegerDigits[Prime[#]]] == Sort[IntegerDigits[Prime[#]+9#]] &] (* Stefano Spezia, Jan 01 2025 *)
PROG
(Magma)[n: n in [1..2*10^4] | Sort(Intseq(NthPrime(n))) eq Sort(Intseq(NthPrime(n) + 9*n))]; // Vincenzo Librandi, Jan 01 2025
CROSSREFS
Cf. A379208.
Sequence in context: A304589 A027525 A298654 * A080312 A116885 A179407
KEYWORD
nonn,base,new
AUTHOR
Jean-Marc Rebert, Dec 31 2024
STATUS
approved