|
|
A246448
|
|
Numbers n such that a square will never end in the digits of n.
|
|
2
|
|
|
2, 3, 7, 8, 10, 11, 12, 13, 14, 15, 17, 18, 19, 20, 22, 23, 26, 27, 28, 30, 31, 32, 33, 34, 35, 37, 38, 39, 40, 42, 43, 45, 46, 47, 48, 50, 51, 52, 53, 54, 55, 57, 58, 59, 60, 62, 63, 65, 66, 67, 68, 70, 71, 72, 73, 74, 75, 77, 78, 79, 80, 82, 83, 85, 86, 87, 88, 90, 91, 92, 93, 94, 95
(list;
graph;
refs;
listen;
history;
text;
internal format)
|
|
|
OFFSET
|
1,1
|
|
COMMENTS
|
|
|
LINKS
|
|
|
EXAMPLE
|
No square will ever end in a 2, thus 2 is a member of this sequence.
|
|
PROG
|
(PARI)
b(n)=v=[]; for(k=10^(n-1), 10^n, v=concat(v, k^2%10^n)); v=vecsort(v, , 8); v
for(n=1, 500, d=digits(n); if(!vecsearch(b(#d), n), print1(n, ", ")))
|
|
CROSSREFS
|
|
|
KEYWORD
|
nonn,base
|
|
AUTHOR
|
|
|
STATUS
|
approved
|
|
|
|