Logo

Greetings from The On-Line Encyclopedia of Integer Sequences!

Hints

Search: id:A102832
Displaying 1-1 of 1 results found. page 1
     Format: long | short | internal | text      Sort: relevance | references | number      Highlight: on | off
A102832 Number of n-digit squares which contain the string "666" but not "6666". +0
1
0, 0, 0, 0, 0, 0, 3, 21, 78, 302, 1139, 4156, 14791, 52529, 183565, 635691, 2183533, 7314869, 25303217 (list; graph; listen)
OFFSET

1,7

MATHEMATICA

fQ[n_] := StringPosition[ ToString[n^2], "666"] != {} && StringPosition[ ToString[n^2], "6666"] == {}; t = Table[0, {20}]; Do[ If[ fQ[n], t[[ Ceiling[ Log[10, n^2]] + 1]]++ ], {n, 3162277661}]; t (from Robert G. Wilson v Mar 10 2005)

CROSSREFS

Cf. A052041, A102794, A102807 A032746.

Sequence in context: A109721 A067002 A110450 this_sequence A112851 A034490 A071351

Adjacent sequences: A102829 A102830 A102831 this_sequence A102833 A102834 A102835

KEYWORD

nonn,base

AUTHOR

James Buddenhagen (jbuddenh(AT)gmail.com), Feb 27 2005

EXTENSIONS

a(13), a(14), a(15), a(16), a(17), a(18) & a(19) from Robert G. Wilson v (rgwv(AT)rgwv.com), Mar 3 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 November 25 20:09 EST 2009. Contains 167514 sequences.


AT&T Labs Research