Logo

Greetings from The On-Line Encyclopedia of Integer Sequences!

Hints

Search: id:A066566
Displaying 1-1 of 1 results found. page 1
     Format: long | short | internal | text      Sort: relevance | references | number      Highlight: on | off
A066566 Numbers which when decremented by the sum of their digits produce a square. +0
2
0, 1, 2, 3, 4, 5, 6, 7, 8, 9, 10, 11, 12, 13, 14, 15, 16, 17, 18, 19, 40, 41, 42, 43, 44, 45, 46, 47, 48, 49, 90, 91, 92, 93, 94, 95, 96, 97, 98, 99, 150, 151, 152, 153, 154, 155, 156, 157, 158, 159, 230, 231, 232, 233, 234, 235, 236, 237, 238, 239, 330, 331, 332, 333 (list; graph; listen)
OFFSET

0,3

COMMENT

The squares in this sequence are divisible by 9.

EXAMPLE

155 is a member as 155-1-5-5=144=12^2.

PROGRAM

(PARI): digitsum(n) = local(s, d); s=0; while(n>0, d=divrem(n, 10); n=d[1]; s=s+d[2]); s a066566(m)= local(n); for(n=0, m, if(issquare(n-digitsum(n)), print1(n, ", "))) a066566(7000)

CROSSREFS

Cf. A066564.

Adjacent sequences: A066563 A066564 A066565 this_sequence A066567 A066568 A066569

Sequence in context: A057605 A059962 A110548 this_sequence A067080 A008554 A055644

KEYWORD

base,nonn

AUTHOR

Amarnath Murthy (amarnath_murthy(AT)yahoo.com), Dec 18 2001

EXTENSIONS

More terms from Jason Earls (zevi_35711(AT)yahoo.com), Dec 20 2001

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 October 7 14:39 EDT 2008. Contains 144666 sequences.


AT&T Labs Research