login

Year-end appeal: Please make a donation to the OEIS Foundation to support ongoing development and maintenance of the OEIS. We are now in our 61st year, we have over 378,000 sequences, and we’ve reached 11,000 citations (which often say “discovered thanks to the OEIS”).

A291334
Numbers with two or more digits such that every two consecutive digits are a square.
1
16, 25, 36, 49, 64, 81, 164, 364, 649, 816, 1649, 3649, 8164, 81649
OFFSET
1,1
COMMENTS
The largest number in this sequence (81649) is the only prime in the sequence.
EXAMPLE
164 is in this sequence because 16 and 64 are both squares.
PROG
(PARI) is(n)=if(n<16, return(0)); while(n>9, if(!issquare(n%100), return(0)); n\=10); 1 \\ Charles R Greathouse IV, Aug 23 2017
CROSSREFS
Sequence in context: A235717 A368049 A319388 * A175689 A030666 A030676
KEYWORD
base,fini,full,nonn,easy
AUTHOR
Bobby Jacobs, Aug 22 2017
STATUS
approved