login
This site is supported by donations to The OEIS Foundation.

 

Logo


Hints
(Greetings from The On-Line Encyclopedia of Integer Sequences!)
A030086 Primes such that digits of p do not appear in p^2. 3
2, 3, 7, 17, 29, 47, 53, 59, 67, 79, 157, 173, 257, 307, 313, 349, 353, 359, 409, 449, 467, 547, 557, 577, 659, 673, 677, 739, 787, 853, 929, 1447, 1607, 1747, 2029, 2087, 2113, 2237, 3257, 3359, 3467, 3533, 3559, 3767, 3779, 4253, 4337, 4787, 5333, 5557, 5659 (list; graph; refs; listen; history; text; internal format)
OFFSET

1,1

COMMENTS

Primes of sequence A029783. - Michel Marcus, Jan 04 2015

LINKS

Harvey P. Dale and Vincenzo Librandi, Table of n, a(n) for n = 1..676 (first 501 terms from Harvey P. Dale)

EXAMPLE

2 and 2^2=4 have no digits in common, hence 2 is in the sequence.

MATHEMATICA

Select[Prime[Range[700]], Intersection[IntegerDigits[#], IntegerDigits[ #^2]] == {}&] (* Harvey P. Dale, Oct 02 2014 *)

PROG

(PARI) lista(nn) = {forprime (n=1, nn, if (#setintersect(Set(vecsort(digits(n^2))), Set(vecsort(digits(n)))) == 0, print1(n, ", ")); ); } \\ Michel Marcus, Jan 04 2015

CROSSREFS

Cf. A029783 (numbers n such that digits of n are not present in n^2).

Cf. similar sequences listed in A253574.

Sequence in context: A110480 A268539 A083822 * A078721 A077007 A158498

Adjacent sequences:  A030083 A030084 A030085 * A030087 A030088 A030089

KEYWORD

nonn,base

AUTHOR

Patrick De Geest, Dec 11 1999

EXTENSIONS

Changed offset from 0 to 1 from Vincenzo Librandi, Jan 04 2015

STATUS

approved

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

License Agreements, Terms of Use, Privacy Policy. .

Last modified October 15 04:33 EDT 2019. Contains 328026 sequences. (Running on oeis4.)