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!)
A345072 Numbers k such that the sum of cubes of digits of both k and k-2 are primes. 0
113, 115, 124, 148, 166, 184, 214, 223, 238, 256, 265, 283, 289, 298, 328, 337, 355, 364, 418, 463, 487, 496, 526, 535, 553, 568, 577, 586, 616, 625, 634, 643, 658, 694, 757, 784, 814, 823, 829, 847, 856, 874, 889, 928, 946, 964, 997, 1013, 1015, 1024, 1048, 1066 (list; graph; refs; listen; history; text; internal format)
OFFSET
1,1
COMMENTS
Numbers k such that k and k-2 appear in A225534.
LINKS
MATHEMATICA
q[n_] := PrimeQ[Plus @@ (IntegerDigits[n]^3)]; Select[Range[3, 1000], q[#-2] && q[#] &] (* Amiram Eldar, Jun 07 2021 *)
CROSSREFS
Cf. A225534.
Sequence in context: A157885 A204377 A242557 * A214503 A054033 A167843
KEYWORD
base,nonn
AUTHOR
Charles U. Lonappan, Jun 07 2021
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 May 13 03:50 EDT 2024. Contains 372497 sequences. (Running on oeis4.)