OFFSET
1,1
COMMENTS
Primes of sequence A029783. - Michel Marcus, Jan 04 2015
LINKS
Michael S. Branicky, Table of n, a(n) for n = 1..13322 (terms < 10^16; terms 502..676 from Harvey P. Dale and Vincenzo Librandi, terms 1..501 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
KEYWORD
nonn,base
AUTHOR
Patrick De Geest, Dec 11 1999
EXTENSIONS
Offset changed from 0 to 1 from Vincenzo Librandi, Jan 04 2015
STATUS
approved