login
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
OFFSET
1,1
COMMENTS
Complement of A238712.
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
Cf. A238712.
Sequence in context: A332699 A347153 A105266 * A054996 A338691 A129341
KEYWORD
nonn,base
AUTHOR
Derek Orr, Aug 26 2014
STATUS
approved