login
The OEIS is supported by the many generous donors to the OEIS Foundation.

 

Logo
Hints
(Greetings from The On-Line Encyclopedia of Integer Sequences!)
A030156 Odd squares in which parity of digits alternates. 4
1, 9, 25, 49, 81, 121, 169, 361, 529, 729, 961, 4761, 6561, 12321, 12769, 14161, 16129, 18769, 32761, 34969, 56169, 72361, 74529, 76729, 78961, 96721, 212521, 214369, 290521, 436921, 452929, 458329, 474721, 670761, 690561, 1038361 (list; graph; refs; listen; history; text; internal format)
OFFSET
1,2
LINKS
MATHEMATICA
altQ[n_] := n < 10 || Union[Total /@ Partition[ Mod[ IntegerDigits@n, 2], 2, 1]] == {1}; Select[ Range[1, 2000, 2]^2, altQ[#] &] (* Giovanni Resta, Aug 16 2018 *)
CROSSREFS
Sequence in context: A016754 A110487 A259417 * A331587 A192775 A318737
KEYWORD
nonn,base
AUTHOR
EXTENSIONS
Offset changed by Giovanni Resta, Aug 16 2018
STATUS
approved

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

License Agreements, Terms of Use, Privacy Policy. .

Last modified April 25 12:15 EDT 2024. Contains 371969 sequences. (Running on oeis4.)