Logo

Greetings from The On-Line Encyclopedia of Integer Sequences!

Hints

Search: id:A109073
Displaying 1-1 of 1 results found. page 1
     Format: long | short | internal | text      Sort: relevance | references | number      Highlight: on | off
A109073 Number of decimal digits ( counted with multiplicity ) in n^2 but not in n. +0
1
0, 0, 1, 1, 2, 1, 1, 2, 2, 2, 0, 1, 2, 2, 2, 2, 2, 3, 3, 2, 1, 2, 3, 2, 3, 1, 1, 1, 2, 3, 1, 2, 3, 4, 4, 3, 3, 3, 4, 4, 2, 2, 3, 3, 4, 3, 3, 4, 3, 3, 1, 3, 3, 4, 4, 3, 3, 4, 4, 4, 1, 3, 4, 2, 2, 3, 3, 4, 3, 3, 2, 3, 4, 3, 2, 2, 1, 4, 3, 4, 2, 3, 3, 2, 4, 3, 3, 3, 4, 3, 2, 3, 4, 3, 4, 2, 2, 2, 3, 3, 0, 1, 2, 2, 2 (list; graph; listen)
OFFSET

0,5

COMMENT

Cf. A076493 Number of common and distinct decimal digits of n and n^2, A109071 Number of common decimal digits ( counted with multiplicity ) of n and n^2, A109072 Number of decimal digits ( counted with multiplicity ) in n but not in n^2.

EXAMPLE

a(35)=4 because 34^2=1156 and there are 4 digits (counted with multiplicity) which are in 34^2 but not in 34.

MATHEMATICA

UnsortedComplement[x_List, y__List]:=Replace[x, Dispatch[(#\[RuleDelayed]Sequence[])&/@Union[y]], 1]; Table[Length[UnsortedComplement[IntegerDigits[n], IntegerDigits[n^2]]], {n, 0, 200}]

CROSSREFS

Cf. A076493, A109071, A109072.

Sequence in context: A024165 A023191 A029256 this_sequence A026465 A051486 A081355

Adjacent sequences: A109070 A109071 A109072 this_sequence A109074 A109075 A109076

KEYWORD

base,easy,nonn

AUTHOR

Zak Seidov (zakseidov(AT)yahoo.com), Jun 20 2005

page 1

Search completed in 0.002 seconds

Lookup | Welcome | Find friends | Music | Plot 2 | Demos | Index | Browse | More | WebCam
Contribute new seq. or comment | Format | Transforms | Puzzles | Hot | Classics
More pages | Superseeker | Maintained by N. J. A. Sloane (njas@research.att.com)

Last modified September 6 00:03 EDT 2008. Contains 143485 sequences.


AT&T Labs Research