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!)
A069557 Squares in which the k-th significant digit either divides k or is a multiple of k. Is 1 only in case k has no other single-digit divisor. 3
1, 4, 9, 25, 49, 64, 81, 324, 361, 625, 961, 4624, 8649, 7354944 (list; graph; refs; listen; history; text; internal format)
OFFSET
1,2
COMMENTS
If the smallest prime divisor of n is > 7 only in such case the n-th digit is 1.
a(15) > 10^25 if it exists. - David A. Corneth, May 05 2024
The definition implies that no digit can be zero. - N. J. A. Sloane, May 05 2024
LINKS
David A. Corneth, PARI program
EXAMPLE
8649 is a member in which the fourth digit is 8, a multiple of 4, the third one is 6, a multiple of 3, the second one is 4, a multiple of 2 and the least significant digit is 9.
MATHEMATICA
okQ[n_]:=Module[{idn=IntegerDigits[n]}, Count[idn, 0]==0 && And@@Divisible[idn, Range[Length[idn], 1, -1]]]; Select[Range[500]^2, okQ] (* Harvey P. Dale, Dec 20 2010 *)
PROG
(PARI) \\ See PARI link
CROSSREFS
Sequence in context: A244557 A063482 A277312 * A230312 A332646 A306043
KEYWORD
base,hard,more,nonn,changed
AUTHOR
Amarnath Murthy, Mar 22 2002
EXTENSIONS
More terms from Sascha Kurz, Mar 23 2002
Offset corrected and a(14) from Sean A. Irvine, May 04 2024
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 May 8 00:02 EDT 2024. Contains 372317 sequences. (Running on oeis4.)